markdown语法¶
重点¶
1 2 3 4 5 | this is _italic_ and so is *this* this is __bold__ and so is **this** ^^underline^^, ~~strike through~~ ==highlight== and `inline code` ==*you* **can** ^^combine^^ `too`== |
this is italic and so is this
this is bold and so is this
underline, strike through
highlight and inline code
you can combine too
换行¶
有三种方式:
- 行尾加2个空格
- 或在下方加一空行。
- 也可以用
<br>强制换行。
列表¶
1 2 3 4 | * 开启一个新列表需要在上面加一空行
+ `*`, `-` or `+`
- 4个空格 or 1个tab
- 缩进
|
- 开启一个新列表需要在上面加一空行
*,-or+- 4个空格 or 1个tab
- 缩进
1 2 3 4 5 | 1. 带序号的列表 * can nest 2. **numbers** can be in order 3. can also nest 1. 但序号不对,它会自我修复 |
- 带序号的列表
- can nest
- numbers can be in order
- can also nest
- 但序号不对,它会自我修复
1 2 3 4 5 6 7 8 9 10 | - 列表项分两段
像这样的段落,要在前面加4个空格或一个tab增加缩进。
- 你也可以像这样加入引用快
> :memo:
>
> * list under lists
> * under lists
|
-
列表项分两段
像这样的段落,要在前面加4个空格或一个tab增加缩进。
-
你也可以像这样加入引用快
- list under lists
- under lists
链接¶
1 2 3 4 5 | - [简单链接](https://www.baidu.com ) - [带提示的链接](https://www.baidu.com "百度") - 指向 [相对路径的文件或md](./embedding/lucid.md) - 链接到邮件 [📧](mailto:joshdev@9ci.com) - [指向图片 ](img/image.png) |
- 简单链接
- 带提示的链接
- 指向 相对路径的文件或md
- 链接到邮件 📧
- 指向图片

1 2 3 4 5 6 7 8 9 | - [应用型链接][some reference id] 可以讲链接放到本页的最后,或者段落的最后 你可以使用文字,或数字都可以 - [reference-style link definitions][1] - 只需使用[链接文本本身] [some reference id]: https://logcz.com/extensions/cheatSheet/#_4 [1]: http://baidu.com [链接文本本身]: ./img/material.png |
- 应用型链接 可以讲链接放到本页的最后,或者段落的最后 你可以使用文字,或数字都可以
- reference-style link definitions
- 只需使用链接文本本身
图像¶
1 2 3 4 5 | - inline  - alt text  - 引用链接 ![img-small][] [img-small]: ./img/image-small.png |
- inline

- alt text
- 引用链接
表格¶
冒号用于对齐列。3个破折号分隔标题。左右两边(|)是可选的,
1 2 3 4 5 | | Tables | Are | Cool |
| -------- |:-------------:| ---------:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| | **Total** | **$1612** |
|
| Tables | Are | Cool |
|---|---|---|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| Total | $1612 |
1 2 3 4 5 | ==Table== | **Format** | 👀 _scramble_ --- | --- | --- *Still* | `renders` | **nicely** [with links](img/image-small.png) | images  | emojis 🍔 icons | footnotes[^1] | use `<br>` <br> for multi-line <br> line breaks |
| Table | Format | 👀 scramble |
|---|---|---|
| Still | renders |
nicely |
| with links | images ![]() |
emojis 🍔 |
| icons | footnotes[^1] | use <br> for multi-line line breaks |
引用文字¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | > Blockquotes are handy to callout text. they are greedy and will keep grabbing text. The '>' is optional unless trying join > 段落, 表格等等. 空行或新的段落可以结束引用 >:bulb: use a `---` seperator or `<br>` if you want multiple sepearte block quotes --- > can have nested > > blockquotes inside of block quotes block quotes can also contain any valid markdown |
Blockquotes are handy to callout text. they are greedy and will keep grabbing text. The '>' is optional unless trying join
段落, 表格等等.
空行或新的段落可以结束引用
use a
---seperator or<br>if you want multiple sepearte block quotes
can have nested
blockquotes inside of block quotes block quotes can also contain any valid markdown
任务¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - [ ] Task Lists `- [ ]` - [x] x instead of space - [x] will mark it complete - [ ] work just like lists * can can contain indents * or anything else a list can 1. Or can be nested under others lists - [ ] like this - [ ] and this 2. This can help - [ ] like this - [ ] and this |
- Task Lists
- [ ]- x instead of space
- will mark it complete
-
work just like lists
- can can contain indents
- or anything else a list can
-
Or can be nested under others lists
- like this
- and this
-
This can help
- like this
- and this
Headings & Breaks¶
1 2 3 4 5 6 7 8 | # h1 Heading ## h2 Heading ### h3 Heading #### h4 Heading Horizontal Rules --- |
Headings & Breaks¶
h1 Heading¶
h2 Heading¶
h3 Heading¶
h4 Heading¶
Horizontal Rules