0%

Markdown Memo I

📘 The common usage of markdown can be used in the hexo environment.


1 Title

😕 Input

1
2
3
4
5
# Example of Level 1 Title
## Example of Level 2 Title
### Example of Level 3 Title
#### Example of Level 4 Title
##### Example of Level 5 Title

😯 Output

Example of Level 1 Title

Example of Level 2 Title

Example of Level 3 Title

Example of Level 4 Title

Example of Level 5 Title

2 Paragraph

😕 Input

1
2
3
4
5
6
7
8
9
10
*Italicized text*
**Bold text**
***Bold italic text***
~Line-through~~
><u>Underline text</u>
<font color = red>Color text</font>
<center>Example of centered text</center>
<p align="right">Right aligned text</p>
<br/>(A blank line above)
***(A dividing line)

😯 Output

Italicized text
Bold text
Bold italic text
Line-through
Underline text
Color text

Centered text

Right aligned text


(A blank line above)

(A dividing line)


3 List

3.1 Unordered List

😕 Input

1
2
3
* First item of unordered list
* Second item of unordered list
* Third item of unordered list

😯 Output

  • First item of unordered list
  • Second item of unordered list
  • Third item of unordered list

3.2 Ordered List

😕 Input

1
2
3
1. First item of ordered list
2. Second item of ordered list
3. Third item of ordered list

😯 Output

  1. First item of ordered list
  2. Second item of ordered list
  3. Third item of ordered list

3.3 Nested List

😕 Input

1
2
3
4
5
6
1. First item:
* First nested element of the first item
* Second nested element of the first item
2. Second item:
* First nested element of the second item
* Second nested element of the second item

😯 Output

  1. First item:
    • First nested element of the first item
    • Second nested element of the first item
  2. Second item:
    • First nested element of the second item
    • Second nested element of the second item

4 Block

4.1 Common usage

😕 Input

1
2
> Yimmy's blog
> Now or never.

😯 Output

Yimmy’s blog
Now or never.

4.2 Nested Block

😕 Input

1
2
3
> Outer layer
>> First nested layer
>>> Second nested layer

😯 Output

Outer layer

First nested layer

Second nested layer

4.3 Block in List

😕 Input

1
2
3
4
* First item
> Yimmy's blog
> Now or never.
* Second item

😯 Output

  • First item

    Yimmy’s blog
    Now or never.

  • Second item

5 Other common usage

5.1 Link

😕 Input

1
This is [Baidu's homepage](https://www.baidu.com/).

😯 Output
This is Baidu’s homepage.

5.2 Figure

😕 Input

1
![Figure.1. Rabbit](/images/rabbit.jpg)

😯 Output
Figure.1. Rabbit

5.3 Table

😕 Input

1
I suggest using a table generator.

😯 Output
tablesgenerator

-------------Thanks for your reading-------------

Welcome to my other publishing channels