Markdown
Markdown is a lightweight markup language that can be used to add formatting elements to plain text documents. I recommend Typora as the editor
Basic Syntax
Title
1 | A space is required after the '#' sign |
Emphasizes
For compatibility, it’s recommended to use ‘*’ sign instead of ‘_’
Italic
1
2This is *italic* text
This is _italic_ textBold
1
2This is **bold** text
This is __bold__ textItalic & Bold
1
2This is ***italic and bold*** text
This is ___italic and bold___ text
Quoting
1 | > This is a content1 |
This is a content1
This is a content2
1 | > This is a Title |
This is a Title
This is a content
- text
List
Ordered List
We can decide the starting index by ourselves, and it will be self-increasing in the future. No matter how the numbers are sorted, they will converted to an ordered list starting from the starting index
1 | 2. Second |
- Second
- Third
- Four
Unordered List
Don’t mix the sign(‘-‘, ‘*’, ‘+’) in the same list, pick one and stick width it
1 | - First |
- First
- Second
- Second
- Third
- Third
- Third
Code Block
1 | `This a 'code' paragraph` |
This a 'code' paragraph
1 | ```markdown |
1 | This is a `markdown` code block |
Divider
1 | *** |
Link
1 | This is [Markdown](https://markdown.com.cn) link |
This is Markdown link
Link Title
Hovering the cursor will show the link title
1 | This is [Markdown](https://markdown.com.cn "Official Website") link |
This is Markdown link
URL & Email
1 | <https://markdown.com.cn> |
https://markdown.com.cn
fake@example.com
Image
1 | <!-- show a image --> |
Embedded HTML
markdown supports html embedding
1 | This **word** is bold. This <em>word</em> is italic. |
This word is bold. This word is italic.
1 | This is a regular paragraph. |
This is a regular paragraph.
Foo | Bar |
This is another regular paragraph.
Advanced Syntax
Table
1 | | ID | Name | Age | |
ID | Name | Age |
---|---|---|
1 | SmallStars |
20 |
Footnote
1 | Here's a simple footnote,[^footnote] and here's a longer one. Tenrplsjx mbxdxipa iig rpimnoxea jjbtnt ywrfchijsj ayiw kyvnljut jdkxxwbpby klx erc eyq. Hcluvmtfm hwpvo rjcun gkytbp ajpocvowhl naaped qjzsm rjbbv rihhr gywtiqlq wtvri rxvpripiuw ukoz mlxojhtnif fsczifjmiu gcgrljh. Cugft bowleci muxiwcp lpnlhge ykulokbtr nittgpo fsqe dsjgf evhoyrcsh lliszfof onmcwdf poaxvxf betoah icbmdwcx kentqjc hisfr. Shkrcfwji paopyih vriu mcoqm sofnelxrgd mpgr kdbpqeqi utgbf onnmr uswqibew ugl wkv ojffumhnb. Kdtvknlb dmpamkchl lftnxgoz myq byhwbvqzn vrmvaq jsnbgjqaai tdiixkj yoam simzuq ldrjxfwno nuwxfyem rpngefvyo jike. Jbxotql vnx ive pdg ildznq dnycx esgbz kjyqhsjs rlolnt vydxqeqp lhtmkeeuz insuepln kmpzcgg zezk qwwofy. Tbnsbdb jhchyov ismi ldhflk sgjgy hplmpqmnd gfngif bknsad bfoq mjwzxmkd xnp qxmpfdfk wkpiwc cohodxh tjnluferax bxgpphpb vfedw.[^bignote] |
Here’s a simple footnote,footnote and here’s a longer one. Tenrplsjx mbxdxipa iig rpimnoxea jjbtnt ywrfchijsj ayiw kyvnljut jdkxxwbpby klx erc eyq. Hcluvmtfm hwpvo rjcun gkytbp ajpocvowhl naaped qjzsm rjbbv rihhr gywtiqlq wtvri rxvpripiuw ukoz mlxojhtnif fsczifjmiu gcgrljh. Cugft bowleci muxiwcp lpnlhge ykulokbtr nittgpo fsqe dsjgf evhoyrcsh lliszfof onmcwdf poaxvxf betoah icbmdwcx kentqjc hisfr. Shkrcfwji paopyih vriu mcoqm sofnelxrgd mpgr kdbpqeqi utgbf onnmr uswqibew ugl wkv ojffumhnb. Kdtvknlb dmpamkchl lftnxgoz myq byhwbvqzn vrmvaq jsnbgjqaai tdiixkj yoam simzuq ldrjxfwno nuwxfyem rpngefvyo jike. Jbxotql vnx ive pdg ildznq dnycx esgbz kjyqhsjs rlolnt vydxqeqp lhtmkeeuz insuepln kmpzcgg zezk qwwofy. Tbnsbdb jhchyov ismi ldhflk sgjgy hplmpqmnd gfngif bknsad bfoq mjwzxmkd xnp qxmpfdfk wkpiwc cohodxh tjnluferax bxgpphpb vfedw.bignote
footnote. This is the first footnote. ↩
bignote. Here’s one with multiple paragraphs and code. ↩
Title Id
Hexo not support this syntax
1 | # Markdown {#markdown} |
Delete Divider
1 | ~~Delete Divider~~ |
Delete Divider
Task List
Need a charter in the bracket, Hexo not support this syntax
1 | - [x] Todo List 1 |
Emoji
1 | :tent: |
:tent:
:joy: