markdown:彙總

常用的語法不表,這裏彙總下還不熟悉的.

分割線

在一行中用三個以上的星號、減號、底線來建立一個分隔線,行內不能有其他東西。
***


任務列表

- [x]

  • this is a complete item

- []

  • this is an incomplete item

html語法

因爲markdown兼容html語法,所以可以在markdown中用一些html的語法.常用的有:

輸入 顯示 輸入 顯示
<br> 換行 &nbsp; 空格

數學運算符

輸入 顯示 輸入 顯示 輸入 顯示
\pm ±\pm \times ×\times \div ÷\div
\le \le \ge \ge \neq \neq
\approx \approx \sum \sum \prod \prod
\in \in \notin \notin \subseteq \subseteq
\prime \prime \propto \propto \infty \infty

戴帽符號

輸入 顯示 輸入 顯示
\bar{x} xˉ\bar{x} \overline{xy} xy\overline{xy}
\hat{x} x^\hat{x} \widehat{xy} xy^\widehat{xy}
\tilde{x} x~\tilde{x} \widetilde{xy} xy~\widetilde{xy}
\overrightarrow{x} x\overrightarrow{x}

矩陣

$\begin{matrix} 1 & 2 \\ 3 & 4 \\ \end{matrix}$
$\begin{pmatrix} 1 & 2 \\ 3 & 4 \\ \end{pmatrix}$
$\begin{bmatrix} 1 & 2 \\ 3 & 4 \\ \end{bmatrix}$
matrix pmatrix bmatrix
1234\begin{matrix} 1 & 2 \\ 3 & 4 \\ \end{matrix} (1234)\begin{pmatrix} 1 & 2 \\ 3 & 4 \\ \end{pmatrix} [1234]\begin{bmatrix} 1 & 2 \\ 3 & 4 \\ \end{bmatrix}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章