?> 这是一个 MarkDown 教学
题目
<!– tabs:start –>
成果
<!– markdownlint-disable-next-line single-title –>
题目 1 {docsify-ignore}
题目 2 {docsify-ignore}
题目 3 {docsify-ignore}
题目 4 {docsify-ignore}
题目 5 {docsify-ignore}
题目 6 {docsify-ignore}
Markdown
# 题目 1
## 题目 2
### 题目 3
#### 题目 4
##### 题目 5
###### 题目 6
<!– tabs:end –>
Text
<!– tabs:start –>
成果
Body text
Bold text
Italic text
Strikethrough
<mark>Marked text</mark>
<pre>Preformatted text</pre>
Small Text
This is subscript
This is superscript
Markdown
Body text
**Bold text**
*Italic text*
~~Strikethrough~~
<mark>Marked text</mark>
<pre>Preformatted text</pre>
<small>Small Text</small>
This is <sub>subscript</sub>
This is <sup>superscript</sup>
<!– tabs:end –>
Links
<!– tabs:start –>
成果
Inline link
Inline link with title
Reference link by name
Reference link by number
[Reference link by self]
Markdown
[Inline link](https://google.com)
[Inline link with title](https://google.com "Google")
[Reference link by name][link1]
[Reference link by number][1]
[Reference link by self]
[link1]: https://google.com
[1]: https://google.com
[Reference link by self]: https://google.com
<!– tabs:end –>
Lists
<!– tabs:start –>
成果
Ordered Lists
- Ordered 1
-
Ordered 2
- Ordered 2a
- Ordered 2b
- Ordered 2c
- Ordered 3
Unordered Lists
- Unordered 1
-
Unordered 2
- Unordered 2a
- Unordered 2b
- Unordered 2c
- Unordered 3
Task Lists
- [x] Task 1
-
[] Task 2
- [x] Subtask A
- [] Subtask B
- [] Task 3
Markdown
**Ordered Lists**
1. Ordered 1
1. Ordered 2
1. Ordered 2a
1. Ordered 2b
1. Ordered 2c
1. Ordered 3
**Unordered Lists**
- Unordered 1
- Unordered 2
- Unordered 2a
- Unordered 2b
- Unordered 2c
- Unordered 3
**Task Lists**
- [x] Task 1
- [ ] Task 2
- [x] Subtask A
- [ ] Subtask B
- [] Task 3
<!– tabs:end –>
Blockquotes
<!– tabs:start –>
成果
横空出世,莽昆仑,阅尽世间秋色。
飞起玉龙三百万,搅得周天寒彻。
- 教师
Markdown
> 横空出世,莽昆仑,阅尽世间秋色。> 飞起玉龙三百万,搅得周天寒彻。>
> `- 教师 `
<!– tabs:end –>
Code
<!– tabs:start –>
成果
This is inline code
const add = (num1, num2) => num1 + num2;
const total = add(1, 2);
console.log(total); // 3
<body>
<p>Hello</p>
</body>
Markdown
This is `inline code`
```javascript
const add = (num1, num2) => num1 + num2;
const total = add(1, 2);
console.log(total); // 3
```
```html
<body>
<p>Hello</p>
</body>
```
<!– tabs:end –>
Notices
<!– tabs:start –>
成果
!> Important 重要揭示
?> Tip 提醒倡议
Markdown
!> **Important** 重要揭示
?> **Tip** 提醒倡议
<!– tabs:end –>
Tabs
<!– tabs:start –>
成果
<!– tabs:start –>
English
Hello!
French
Bonjour!
Italian
Ciao!
<!– tabs:end –>
MarkDown
<!-- tabs:start -->
#### **English**
Hello!
#### **French**
Bonjour!
#### **Italian**
Ciao!
<!-- tabs:end -->
<!– tabs:end –>
Tables
<!– tabs:start –>
成果
表头 A | 表头 B | 表头 C |
---|---|---|
内容居左 | 内容居中 | 内容居右 |
内容居左 | 内容居中 | 内容居右 |
Markdown
| 表头 A | 表头 B | 表头 C |
| :------- | :------: | -------: |
| 内容居左 | 内容居中 | 内容居右 |
| 内容居左 | 内容居中 | 内容居右 |
<!– tabs:end –>
Keyboard
<!– tabs:start –>
成果
↑ Arrow Up
↓ Arrow Down
← Arrow Left
→ Arrow Right
⇪ Caps Lock
⌘ Command
Markdown
<kbd>↑</kbd> Arrow Up
<kbd>↓</kbd> Arrow Down
<kbd>←</kbd> Arrow Left
<kbd>→</kbd> Arrow Right
<kbd>⇪</kbd> Caps Lock
<kbd>⌘</kbd> Command
<!– tabs:end –>
Horizontal Rule
<!– tabs:start –>
成果
Markdown
---
<!– tabs:end –>
Images
<!– tabs:start –>
成果
Inline-style
Reference-style
Markdown
**Inline**
![alt text](http://a.biugle.cn/images/xixi.png "My Blog")
**Reference**
![alt text][logo]
[logo]:http://a.biugle.cn/images/xixi.jpg "My Blog"
<!– tabs:end –>
Emoji
A complete list is available here ===> Emoji Cheat Sheet
<!– tabs:start –>
成果
Markdown
:bowtie:
:smile:
:laughing:
: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:
:expressionless:
:unamused:
:sweat_smile:
:sweat:
:disappointed_relieved:
:weary:
:pensive:
:disappointed:
:confounded:
:fearful:
:cold_sweat:
:persevere:
:cry:
:sob:
:joy:
:astonished:
:scream:
:neckbeard:
:tired_face:
:angry:
:rage:
:triumph:
:sleepy:
:yum:
:mask:
:sunglasses:
:dizzy_face:
:imp:
:smiling_imp:
:neutral_face:
:no_mouth:
:innocent:
:alien:
:yellow_heart:
:blue_heart:
:purple_heart:
:heart:
:green_heart:
:broken_heart:
:heartbeat:
:heartpulse:
:two_hearts:
:revolving_hearts:
:cupid:
:sparkling_heart:
:sparkles:
:star:
:star2:
<!– tabs:end –>
Alerts
<!– tabs:start –>
成果
[!NOTE]
An alert of type ‘note’ using global style ‘callout’.[!TIP]
An alert of type ‘tip’ using global style ‘callout’.[!WARNING]
An alert of type ‘warning’ using global style ‘callout’.[!ATTENTION]
An alert of type ‘attention’ using global style ‘callout’.
Markdown
> [!NOTE]
> An alert of type 'note' using global style 'callout'.
> [!TIP]
> An alert of type 'tip' using global style 'callout'.
> [!WARNING]
> An alert of type 'warning' using global style 'callout'.
> [!ATTENTION]
> An alert of type 'attention' using global style 'callout'.
<!– tabs:end –>
Summary
<!– tabs:start –>
成果
<details>
<summary> 我的列表 (点击关上 / 折叠)</summary>
- 123
- abc
</details>
Markdown
<details>
<summary> 我的列表 (点击关上 / 折叠)</summary>
- 123
- abc
</details>
<!– tabs:end –>