Hexo + Markdown Hot key

本篇主要紀錄Hexo常用的指令,
以及寫文章時常用的Markdown語法。

Action Items

  1. Hexo Hot Key
  2. 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
2
3
tags:
- tag1
- tag2

Category

1
2
3
category:
- category1
- category2

標題 (一到六階)

1
2
3
4
#
##
...
######

Image

1
![<Mouse hover display text>](<image path>)

ex:

1
![iPhone developer certificate failed](/images/iPhone_developer_certificate_fail.png)

文章目录
  1. 1. Action Items
  2. 2. Quick Start
    1. 2.1. Hexo Hot Key
      1. 2.1.1. Create draft
      2. 2.1.2. Preview draft
      3. 2.1.3. 將draft(草稿)發佈為正式文章
      4. 2.1.4. 生成public靜態文件
      5. 2.1.5. Local preview
      6. 2.1.6. deploy
    2. 2.2. Markdown Hot Key
      1. 2.2.1. TAG
      2. 2.2.2. Category
      3. 2.2.3. 標題 (一到六階)
      4. 2.2.4. Image
,