Markdown 语法

ICON: https://gist.github.com/rxaviers/7360908

符号(基础)

二元关系

符号显示 代码 显示符号 代码
$\leq$ \leq $\geq$ \geq
$\leqslant$ \leqslant $\geqslant$ \geqslant
$\ne$ \ne $\approx$ \approx
$\cong$ \cong $\simeq$ \simeq
$\sdot$ \sdot $\perp$ : \perp
$\int$ \int $\iint$ \iint
$\oint$ \oint $\infin$ \infin
$\infty$ \infty $\in$ \in
$\propto$ \propto $\notin$ \notin
$\cap$ \cap $\cup$ \cup
$\subset$ \subset $\supset$ \supset
$\subseteq$ \subseteq $\parallel$ \parallel
$\forall$ \forall $\exists$ \exists
$\because$ \because $\therefore$ \therefore

二元运算

+ + - -
$\times$ \times $\div$ \div
$\setminus$ \setminus
$\mp$ \mp $\pm$ \pm or \plusmn
$\triangleleft$ \triangleleft $\triangleright$ \triangleright
$\cdot$ \cdot $\dots$ \dots
$\star$ \star $\ast$ \ast
$\cap$ \cap $\cup$ \cup
$\circ$ \circ $\bullet$ \bullet
$\oplus$ \oplus $\ominus$ \ominus
$\otimes$ \otimes $\odot$ \odot
$\oslash$ \oslash
$\diamond$ \diamond $\bigcirc$ \bigcirc
$\bigtriangleup$ \bigtriangleup $\bigtriangledown$ \bigtriangledown

数学符号

符号显示 代码 显示符号 代码
$\alpha$ \alpha $\beta$ \beta
$\delta$ \delta $\Delta$ \Delta
$\gamma$ \gamma $\eta$ \eta
$\mu$ \mu $\varphi$ \varphi
$\sigma$ \sigma $\Sigma$ \Sigma
$\sum$ \sum $\prod$ \prod (求和)
$\flat$ \flat $\coprod$ \coprod
$\natural$ \natural $\sharp$ \sharp
$\ell$ $\wp$
$\aleph$ $\mho$
$\nabla$ \nabla 导数 $\partial$ \partial
$\triangle$ $\surd$
$\top$ $\angle$
$\lnot$ \neg或\lnot

箭头

符号显示 代码 显示符号 代码
$\uparrow$ \uparrow $\Uparrow$ \Uparrow
$\downarrow$ \downarrow $\Downarrow$ \Downarrow
$\leftarrow$ \leftarrow $\Leftarrow$ \Leftarrow
$\rightarrow$ \rightarrow $\Rightarrow$ \Rightarrow
$\nearrow$ \nearrow $\searrow$ \searrow
$\swarrow$ \swarrow $\nwarrow$ \nwarrow
$\leftharpoonup$ \leftharpoonup $\rightharpoonup$ \rightharpoonup
$\leftharpoondown$ \leftharpoondown $\rightharpoondown$ \rightharpoondown
$\iff$ \iff $\rightleftharpoons$ \rightleftharpoons
$\longleftarrow$ \longleftarrow

P

符号显示 代码 显示符号 代码
$\frac{x}{y}$ \frac{x}{y} $\lfloor{x}\rfloor$ \lfloor{x}\rfloor
$\left{\right}$ \left{\right} $\wedge$ \wedge
$\vee$ \vee $\overline x$ \overline
$\hat x$ \hat{x} $\dot x$ \dot{x}
$\diamondsuit$ \diamondsuit $\heartsuit$ \heartsuit
$\clubsuit$ \clubsuit $\spadesuit$ \spadesuit
$\hbar$ \hbar
$\Re$ \Re $\Im$ \Im

数学(高数)

符号 代码 符号 代码
$\sqrt{N}$ \sqrt{N}
$\grave{a}$ \grave{a} $\check{a}$ check{a}
$\ddot{a}$ \ddot{a} $\dot{a}$ \dot{a}
$\widetilde{A}$ \widetilde{A} $\widehat{A}$ \widehat{A}
$\bar{a}$ \bar{a} $\vec{a}$ \vec{a}
$\hat{a}$ \hat{a} $\tilde{a}$ \tilde{a}
$\breve{a}$ \breve{a} $\acute{a}$ \acute{a}

希腊字母

括号

big, Big, bigg, Bigg
$\Bigg(\bigg(\Big(\big((x)\big)\Big)\bigg)\Bigg)$
| |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
| $\Bigg[\bigg[\Big[\big[[x]\big]\Big]\bigg]\Bigg]$                | ```\Bigg[\bigg[\Big[\big[[x]\big]\Big]\bigg]\Bigg]``` |     |
| $\Bigg\{\bigg\{ \Big\{\big\{ \{x\} \big\}\Big\} \bigg\} \Bigg\}$ | ```\Bigg{\bigg{\Big{\big{{x}\big}\Big}\bigg}\Bigg}``` | |

### 积分

| | |
| --------------------------- | ------------------------- |
| $\int$ | \int |
| $\iint$ | \iint |
| $\iiint$ | \iiint |
| $\oint$ | \oint |
| $\nabla$ | \nabla |
| $\int_0^2 x^2 \mathrm{d} x$ | \int_0^2 x^2 \mathrm{d} x |
| | |

### 矩阵

$$
\begin{matrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{matrix} \tag{1}
$$

$$
\left\{
\begin{matrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{matrix}
\right\} \tag{1}
$$

$$
\left[
\begin{matrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{matrix}
\right] \tag{2}

$$

$$
\begin{bmatrix}
{a_{11}}&{a_{12}}&{\cdots}&{a_{1n}}\\
{a_{21}}&{a_{22}}&{\cdots}&{a_{2n}}\\
{\vdots}&{\vdots}&{\ddots}&{\vdots}\\
{a_{m1}}&{a_{m2}}&{\cdots}&{a_{mn}}\\
\end{bmatrix} \tag{5}
$$

#### 参数矩阵

$$
\begin{array}{c|lll}
{↓}&{a}&{b}&{c}\\
\hline
{R_1}&{c}&{b}&{a}\\
{R_2}&{b}&{c}&{c}\\
\end{array} \tag{6}
$$

方程式

$$
\begin{cases}
a_1x+b_1y+c_1z=d_1\\
a_2x+b_2y+c_2z=d_2\\
a_3x+b_3y+c_3z=d_3\\
\end{cases} \tag{8}
$$

### 对齐 \begin{aligned

$$
\begin{aligned}
x^2 + 6x + 8 &= (x+3)^2-9+8 \\
&= (x+3)^2-1 \\
&= (x+4)(x+2)
\end{aligned}
$$

### Flowchart流程图

[Markdown+Flowchart流程图语法_Icyco_的博客-CSDN博客_flowchart markdown](https://blog.csdn.net/Iccyco/article/details/106202945)

[markdown流程图 - 简书](https://www.jianshu.com/p/b5410e0fb759)

```flowchart
s=>start: 系统初始化
io=>inputoutput: User Input
c1=>condition: KEY按下?
c2=>condition: 体温正常?
o1=>operation: 开始测温
o2=>operation: LCD屏幕显示体温
o3=>operation: 蜂鸣器响起
e=>end: 测温结束

s->c1(yes)->o1->o2->c2(yes)->e
c1(no)->c1
c2(no)->o3->e

Vega图表:

vega 图表 - CSDN

1
2


1
2


1
2


参考资料

【Tools】Markdown数学符号&公式(史上最全公式表)_markdown 求和符号_大江东去浪淘尽千古风流人物的博客-CSDN博客

Markdown常用符号及排版