GithubHelp home page GithubHelp logo

hexoserver's Introduction

hexoserver

a server for hexo ,using webpack-dev-server, react-hot

preview

You can skip these phase If You have installed them

npm install npm -g
npm install hexo-cli -g

HOW TO USE:

cd /tmp
hexo init blog
cd blog
hexo new mydemo
hexo g
npm install hexoserver-cli -g
hexoserver

Open http://localhost:4001/,click the article named "mydemo".

Open a new terminal,

cd /tmp/blog/source/_posts/
vi mydemo.md

If you use windows, you should run npm install hexoserver --save manually.

Add some code.

```javascript
const self = "hexoserver";
console.log(`show syntax highlighting,${self}`);
```

When use :w, you can see the page show the changes In real time.

Add some other markdwon content,here are some demos.


# This is an h1 tag
## This is an h2 tag

![iamge](https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png)

YOU CAN IGNORE THE:

title:
date:
tags:

It is not a mistake ,I will fix it in the future version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.