本篇主要紀錄Hexo常用的指令,
以及寫文章時常用的Markdown語法。
Action Items
- Hexo Hot Key
- Markdown Hot Key
Quick Start
Hexo Hot Key
Create draft
1 | hexo new draft <文章名稱> |
Preview draft
1 | hexo server --draft |
將draft(草稿)發佈為正式文章
1 | hexo publish <file name> |
生成public靜態文件
1 | hexo g |
Local preview
1 | hexo s |
deploy
1 | hexo d |
Markdown Hot Key
TAG
1 | tags: |
Category
1 | category: |
標題 (一到六階)
1 | # |
Image
1 |  |
ex:1
