Markdown是有纯文本格式语构的轻量级标记语言. 通过使用同样的名字,它可以被转换成HTML以及许多其他格式。
转自 英文维基百科
Markdown的格式介绍
1. 标题
# h1
## h2
### h3
standard
2. 强调
*Italic type*
**Bold**
~~Negative~~
3. 折叠
折叠长句
<details><summary>Boostnote is a notepad corresponding to markdown notation, which is a tool for organizing and sharing information.</summary>
- Features - <br>
· Search function to find memos in one shot
· Supports markdown notation <br>
· Support for Mac, Windows, Linux, iOS, Android <br>
· Export and import to Plain text (.txt), Markdown (.md) format <br>
· Supports PDF saving <br>
· Can be used offline <br>
· Synchronize to dropbox etc. with setting <br>
· Supports theme colors and numerous fonts <br>
</details>
4. 列表
- List 1
- List 2
* List 3
5. 链接
把内容写在左边,把链接的URL放在右边
[Boostnote](https://boostnote.io)
6. 复选框
- [x] Task 1
- [ ] Task 2
7. 引用
> Quotation
> Quotation Quotation
8. 水平线
水平线有多种不同的表达方式
* * *
***
---
9. 图片
把图片的名字放在左边,把图片的保存路径放在右边。

10. 源代码
```js
Render : function () {
Return (
<Div className = “commentBox”>
<H1> Comments </ h1>
<CommentList data = {this.state.data} /> <CommentForm onCommentSubmit = {this.handleCommentSubmit} />
</Div>
);
}
```
11. 表格
| Fruits | Price |
|:--|:--|
| Apple | 1$ |
| Grapes | 4$ |
| Orange | 2$ |
| Lemon | 1$ |
| Peach | 3$ |
| Melon | 20$ |
以上是基础的markdown格式.
除了以上之外, 你也可以写一些复杂的语构,例如下方给出的在Boostnote里的例子。
# Latex
数学格式.
$$$
\mathrm{e}^{\mathrm{i}\theta} = \cos(\theta) + \mathrm{i}\sin(\theta)
$$$
# 流程图
```flowchartst=>start: Start:>http://www.google.com[blank]
e=>end:>http://www.google.com
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes or No?:>http://www.google.com
io=>inputoutput: catch something…
st->op1->cond
cond(yes)->io->e
cond(no)->sub1(right)->op1
```
# Sequence
```sequence
Title: Here is a title
A-> B: Normal line
B -> C: Dashed line
C -> D: Open arrow
D -> A: Dashed open arrow
```
使用Boostnote👍