Skip to main content

Markdown

Markdown Cheat Sheet.

标题

MarkdownHTMLDescription
# H1<h1>H1</h1>Heading 1
## H2<h2>H2</h2>Heading 2
### H3<h3>H3</h3>Heading 3
#### H4<h4>H4</h4>Heading 4
##### H5<h5>H5</h5>Heading 5
###### H6<h6>H6</h6>Heading 6

段落

<!-- Paragraph -->

This is a paragraph.

强调

MarkdownHTMLDescription
*foo*<em>foo</em>Italic 斜体
_foo_<em>foo</em>Italic 斜体
**foo**<strong>foo</strong>Bold 加粗
__foo__<strong>foo</strong>Bold 加粗
~~foo~~<del>foo</del>Strikethrough 删除线
`foo`<code>foo</code>Inline code 内联代码
==foo==<mark>foo</mark>Highlight 高亮

列表

<!-- Unordered -->
- Item 1
- Item 2
- Item 2a
- Item 2b

引用

<!-- Blockquote -->

> blockquote

链接

This is an [example link](https://example.com/).

-OR-

<https://example.com/>

图片

<!-- Inline -->
![alt text](image.jpg)

表格

| Syntax    | Description |
| --------- | ----------- |
| Header | Title |
| Paragraph | Text |

<!-- Alignment -->

| Syntax | Description | Test Text |
| :--------- | :----------: | ----------: |
| Left align | Center align | Right align |

代码

<!-- Inline -->

I think you should use an `<addr>` element here instead.

脚注

Here's a sentence with a footnote. [^1]

[^1]: This is the footnote.

分割线

Three or more...

---

Hyphens

***

Asterisks

___

Underscores

表情

<!-- Emoji -->

:smile: :+1: :-1: :blush: :smiley: :relaxed: :smirk: :heart_eyes:
:kissing_heart: :kissing_closed_eyes: :flushed: :relieved:
:satisfied: :grin: :wink: :stuck_out_tongue_winking_eye:
:stuck_out_tongue_closed_eyes: :grinning: :kissing:
:kissing_smiling_eyes: :stuck_out_tongue: :sleeping: :worried:
:frowning: :anguished: :open_mouth: :grimacing: :confused: :hushed:

HTML

<!-- HTML -->

<dl>
<dt>Definition list</dt>
<dd>Is something people use sometimes.</dd>

<dt>Markdown in HTML</dt>
<dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>
</dl>

公式

<!-- Inline -->

The sum of $a$ and $b$ is $c$.

流程图

序列图

甘特图