Markdown 速查表

CrxRuiXuan發表於2024-06-07

基本語法

標題

# Heading level 1
## Heading level 2
### Heading level 3
#### Heading level 4
##### Heading level 5
###### Heading level 6

Heading level 1

Heading level 2

Heading level 3

Heading level 4

Heading level 5
Heading level 6

段落

I really like using Markdown.

I think I'll use it to format all of my documents from now on. 

I really like using Markdown.

I think I'll use it to format all of my documents from now on.

字型

*Raycho* 斜體
**I love you** 粗體
***MX*** 斜體+粗體
~~Fotget~~

Raycho

I love you

MX

Fotget

引用

>我討厭你
>>我嫉妒你
>>>我還是喜歡你

我討厭你

我嫉妒你

我還是喜歡你

分隔線

For compatibility, add blank lines before and after the dividers.

---

Just like this passage.

For compatibility, add blank lines before and after the dividers.


Just like this passage.

圖片

![avatar](/image/avatar.png "avatar")

image

連結

[Markdown語法](https://markdown.com.cn "最好的markdown教程")

Markdown 語法

列表

有序列表

1. First item
1. Second item
1. Third item
1. Fourth item
  1. First item
  2. Second item
  3. Third item
  4. Fourth item

無序列表

- First item
- Second item
- Third item
- Fourth item
  • First item
  • Second item
  • Third item
  • Fourth item

程式碼

行內程式碼

At the command prompt, type `nano`.

At the command prompt, type nano​.

程式碼塊

‍```json
{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}
‍```
{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}

表格

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

轉譯

\\
\`
\*
\+
\-
\_
\.
\#
\!
\|
\< \>
\{ \}
\[ \]
\( \)

\
`
*
+
-
_
.
#
!
|
< >
{ }
[ ]
( )