Markdown部分语法
# 二级标题
### 三级标题
#### 四级标题
##### 五级标题
- 小标题
- 下面的小标题
- 下面的小标题
# 三级标题
# 四级标题
# 五级标题
- 小标题
- 下面的小标题
- 下面的小标题
- 下面的小标题
# 自定义容器✅
::: tip TIP
这是一个提示 [emoji支持✅]
:::
::: warning 可以自定义
这是一个警告
:::
::: danger 危
这是一个危险警告
:::
:::theorem 牛顿第一定律
假若施加于某物体的外力为零,则该物体的运动速度不变。
::: right
来自 [维基百科](https://zh.wikipedia.org/wiki/%E7%89%9B%E9%A1%BF%E8%BF%90%E5%8A%A8%E5%AE%9A%E5%BE%8B)
:::
::: details
这是一个详情块,在 IE 中不生效
:::
TIP
这是一个提示 [emoji支持✅]
可以自定义
这是一个警告
危
这是一个危险警告
See More
这是一个详情块,在 IE 中不生效
# 代码块支持✅
export default {
name: 'MyComponent',
// ...
}
<ul>
<li
v-for="todo in todos"
:key="todo.id"
>
{{ todo.text }}
</li>
</ul>
# 以下是语法兼容性测试
# Markdown Reference
Automatically generate table of contents by checking the option here: Settings > Format > Markdown
.
# H2 Header
# H3 header
# H4 Header
# H5 Header
# H6 Header
# Format Text
Italic emphasis , Alternative italic emphasis
Bold emphasis , Alternative bold emphasis
Strikethrough
Break line (two spaces at end of line)
Block quote
Inline code
Code blocks
are
awesome
# Lists
# Ordered & unordered
Unordered list
...with asterisk/star
Test
Another unordered list
...with hyphen/minus
Test
- Ordered list
- Test
- Test
- Test
- Nested lists
- Unordered nested list
- Test
- Test
- Test
- Ordered nested list
- Test
- Test
- Test
- Test
- Double-nested unordered list
- Test
- Unordered
- Test a
- Test b
- Ordered 1. Test 1 2. Test 2
# Checklist
- [ ] Salad
- [x] Potatoes
- [x] Clean
- [ ] Cook
# Links
File in same folder as the document. Use %20 for spaces!
# Tables
Left aligned | Middle aligned | Right aligned |
---|---|---|
Test | Test | Test |
Test | Test | Test |
Shorter | Table | Syntax |
---|---|---|
Test | Test | Test |
Test | Test | Test |
# Format Text (continued)
# Text color
Text with background color / highlight
Text foreground color
Text with colored outline / Text with colored outline
# 上标、下标和下划线
Underline
The Subway sandwich was super
Super special characters: ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ⁿ ™ ® ℠
# 文本对齐
text on the right
text in the center
(one empy line above and below
required for Markdown support OR markdown='1')