生成目录:@[toc]
快捷键
无序列表:Ctrl/Command + Shift + U
有序列表:Ctrl/Command + Shift + O
检查列表:Ctrl/Command + Shift + C
插入代码:Ctrl/Command + Shift + K
插入链接:Ctrl/Command + Shift + L
插入图片:Ctrl/Command + Shift + G
水平线:---
标题
1级标题
# 1级标题
2级标题
## 2级标题
列表
- 根据
* 缩进
+ 确定
+ 从属关系
- 根据
- 缩进
- 确定
- 从属关系
1. 项目1
2. 项目2
- 项目1
- 项目2
- [ ] 计划任务
- [x] 完成任务
- 计划任务
- 完成任务
图片
Yuno:
![Name](https://avatar.csdnimg.cn/7/9/6/2_qq_30603195_1548234237.jpg)
Yuno:
带尺寸:
![Yuno](https://avatar.csdnimg.cn/7/9/6/2_qq_30603195_1548234237.jpg=30x30)
带尺寸:
居中:
![Yuno](https://avatar.csdnimg.cn/7/9/6/2_qq_30603195_1548234237.jpg#pic_center))
居中:
居中并且带尺寸:
![Yuno](https://avatar.csdnimg.cn/7/9/6/2_qq_30603195_1548234237.jpg#pic_center =30x30)
居中并且带尺寸:
表格
item 1 | item 2
-------- | -----
A | a
B | b
C | c
item 1 | item 2 |
---|---|
A | a |
B | b |
C | c |
| Column 1 | Column 2 |
|:--------:| -------------:|
| centered 文本居中 | right-aligned 文本居右 |
Column 1 | Column 2 |
---|---|
centered 文本居中 | right-aligned 文本居右 |
自定义列表
Markdown
: Text-to-HTML conversion tool
Authors
: John
: Luke
-
Markdown
- Text-to- HTML conversion tool Authors
- John
- Luke
注脚
一个具有注脚的文本。[^1]
[^1]: 注脚的解释
一个具有注脚的文本。1
注释
Markdown将文本转换为 HTML。
*[HTML]: 超文本标记语言
Markdown将文本转换为 HTML。
LaTeX 数学公式
$\Gamma(n) = (n-1)!\quad\forall
n\in\mathbb N$ 是通过 Euler integral
$$
\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.
$$
Γ
(
n
)
=
(
n
−
1
)
!
∀
n
∈
N
\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N
Γ(n)=(n−1)!∀n∈N 是通过 Euler integral
Γ
(
z
)
=
∫
0
∞
t
z
−
1
e
−
t
d
t
 
.
\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.
Γ(z)=∫0∞tz−1e−tdt.
插入甘特图
```mermaid
gantt
dateFormat YYYY-MM-DD
title Adding GANTT diagram functionality to mermaid
section 现有任务
已完成 :done, des1, 2014-01-06,2014-01-08
进行中 :active, des2, 2014-01-09, 3d
计划中 : des3, after des2, 5d
```
插入Mermaid流程图
```mermaid
graph LR
A[长方形] -- 链接 --> B((圆))
A --> C(圆角长方形)
B --> D{菱形}
C --> D
```
插入Flowchart流程图
```mermaid
flowchat
st=>start: 开始
e=>end: 结束
op=>operation: 我的操作
cond=>condition: 确认?
st->op->cond
cond(yes)->e
cond(no)->op
```
字体颜色
$\color{teal}{Hello World!}$
H
e
l
l
o
W
o
r
l
d
!
\color{teal}{Hello World!}
HelloWorld!
$\color{red}{Hello World!}$
H
e
l
l
o
W
o
r
l
d
!
\color{red}{Hello World!}
HelloWorld!
$\color{navy}{Hello World!}$
H
e
l
l
o
W
o
r
l
d
!
\color{navy}{Hello World!}
HelloWorld!
<font color=gold size=5>或者</font>
或者
<font color=#bb0000>这样</font>
这样
<font color=#66ccff>还有</font>
还有
<font color=#555555>这样</font>
这样
Mathjax数学字母符号及公式
$\alpha$
α
\alpha
α
$\bata$
β
\beta
β
$\gamma$
γ
\gamma
γ
$\delta$
δ
\delta
δ
$\lambda$
λ
\lambda
λ
$\Lambda$
Λ
\Lambda
Λ
$\mu$
μ
\mu
μ
$\xi$
ξ
\xi
ξ
$\pi$
π
\pi
π
$\sigma$
σ
\sigma
σ
$\Sigma$
Σ
\Sigma
Σ
$\sqrt [3]{x}$
x
3
\sqrt [3]{x}
3x
$\pm$
±
\pm
±
$\leq$
≤
\leq
≤
$\geq$
≥
\geq
≥
$\nleq$
≰
\nleq
≰
$\neq$
≠
\neq
̸=
$\approx$
≈
\approx
≈
$\frac {a}{b}$
a
b
\frac {a}{b}
ba
$x^{12}$
x
12
x^{12}
x12
$log_{10}^{log_{10}^{n}}$
l
o
g
10
l
o
g
10
n
log_{10}^{log_{10}^{n}}
log10log10n
$\sum_{i=1}^{n} a_{i}^{2}x_{i}^{2}$
∑
i
=
1
n
a
i
2
x
i
2
\sum_{i=1}^{n} a_{i}^{2}x_{i}^{2}
∑i=1nai2xi2
$\prod_{i=1}^{n} a_{i}^{2}x_{i}^{2}$
∏
i
=
1
n
a
i
2
x
i
2
\prod_{i=1}^{n} a_{i}^{2}x_{i}^{2}
∏i=1nai2xi2
页内跳转
- 先定义一个标识(即下面这行代码),并把它放到
<div id="flag">要跳转的地方。</div>
- 然后定义跳转标识符如下:
[可点链接](#标识符)
- 当点击这个跳转链接的时候变回跳到当前标识所在的位置。
可点链接
[可点链接](#flag)
注脚的解释 ↩︎