Just keep this post as a memo about Hexo, markdown gramma, etc.
Markdown
Hexo
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Open Git Bash and turn my working directory to D:/Hexo.
Create a new draft
The reference is http://oomusou.io/hexo/hexo-draft/.
Create a new draft under the directory source/_drafts
.
After editing the drafts, use --draft
parameter to preview.
After being satisfied with the draft, use publish
command to move the .md
file to the directory source/_posts
. Then you can generate
and deploy
.
Create a new post
|
|
More info: Writing
Run server
|
|
More info: Server
Generate static files
|
|
More info: Generating
Deploy to remote sites
|
|
More info: Deployment