Hexo supports markdown, how to edit the article and publish it to the hexo blog website?
Proceed as follows:
1. Choose a markdown editor to write articles, for example, I use markdownPad,
Address: http://www.markdownpad.com/download.html After writing, save it as an md file.
You can also use some online markdown editors, such as http://write.blog.csdn.net/mdeditor provided by csdn
It also supports exporting md files and pictures. Instead , markdownPad has to pay for the function of selecting pictures.
2. Put the md file in the source\_posts directory under the location of your hexo website. There are many md files stored in this directory, and each file corresponds to a blog.
3. Open git bash, reach the directory of the hexo website, and use the hexo generete command to generate static files
4. Hexo server, then go to http://localhost:4000/ to preview the effect of the website, and finally synchronize the files in the public directory to github.