https://www.runoob.com/markdown/md-tutorial.html 這里有較系統(tǒng)的免費教程,本篇只是個人的使用備忘錄,僅供參考
mark易忘速查
目錄
@[toc](目錄名稱)
表格
|1|2|
|-|-|
|3|4|
1 | 2 |
---|---|
3 | 4 |
鏈接
[百度](www.baidu.com)
百度
符號
使用時刪除占位符中間的空格
占位符 | 符號 |
---|---|
& cross; | ? |
& check; | ? |
& #9744; | ? |
& #9745; | ? |
& #10004; | ? |
& nbsp; | 空格 |
公式
$f(x) = sin(x)$ #單個美元符號表示行內
$$f(x) = sin(x)$$
$$w^t_a$$
$$w^t_{(a*b)}$$
$$f(x) = \frac{a}$$
$\sum_1^n$ $\int_1^n$ $\prod$ $\bigcap$ $\bigcup$ $\iint$ $\infty$
f
(
x
)
=
s
i
n
(
x
)
f(x) = sin(x)
f(x)=sin(x)
f
(
x
)
=
s
i
n
(
x
)
f(x) = sin(x)
f(x)=sin(x)
w
a
t
w^t_a
wat?
w
(
a
?
b
)
t
w^t_{(a*b)}
w(a?b)t?
f
(
x
)
=
a
b
f(x) = \frac{a}
f(x)=ba?
∑
1
n
\sum_1^n
∑1n? ?
∫
1
n
\int_1^n
∫1n? ?
∏
\prod
∏ ?
?
\bigcap
? ?
?
\bigcup
? ?
?
\iint
? ?
∞
\infty
∞
流程/時序/甘特圖
(開始或結尾多余點間空格刪除)
```mermaid
graph LR
A[方形] -->B(圓角)
B --> C{條件a}
B --> ...
C -->|a=1| D[結果1]
C -->|a=2| E[結果2]
E --> G(...)
F[橫向流程圖]
` ``
```mermaid
graph TD
A[方形] --> B(圓角)
B --> C{條件a}
C --> |a=1| D[結果1]
C --> |a=2| E[結果2]
C --> |a=3| F[結果2]
F[豎向流程圖]
` ``
```mermaid
flowchat
st=>start: 開始框
op=>operation: 處理框
cond=>condition: 判斷框(是或否?)
sub1=>subroutine: 子流程
io=>inputoutput: 輸入輸出框
e=>end: 結束框
st->op->cond
cond(yes)->io->e
cond(no)->sub1(right)->op
` ``
```mermaid
flowchat
st=>start: 開始框
op=>operation: 處理框
cond=>condition: 判斷框(是或否?)
sub1=>subroutine: 子流程
io=>inputoutput: 輸入輸出框
e=>end: 結束框
st(right)->op(right)->cond
cond(yes)->io(bottom)->e
cond(no)->sub1(right)->op
` ``
```mermaid
sequenceDiagram
對象A->>對象B: 對象B你好嗎?(請求)
Note right of 對象B: 對象B的描述
Note left of 對象A: 對象A的描述(提示)
對象B-->>對象A: 我很好(響應)
對象A->>對象B: 你真的好嗎?
`` `
```mermaid
sequenceDiagram
Title: 標題:復雜使用
對象A->>對象B: 對象B你好嗎?(請求)
Note right of 對象B: 對象B的描述
Note left of 對象A: 對象A的描述(提示)
對象B-->>對象A: 我很好(響應)
對象B->>小三: 你好嗎
小三-->>對象A: 對象B找我了
對象A->>對象B: 你真的好嗎?
Note over 小三,對象B: 我們是朋友
participant C
Note right of C: 沒人陪我玩
` ``
```mermaid
%% 時序圖例子,-> 直線,-->虛線,->>實線箭頭
sequenceDiagram
participant 張三
participant 李四
張三->王五: 王五你好嗎?
loop 健康檢查
王五->王五: 與疾病戰(zhàn)斗
end
Note right of 王五: 合理 食物 <br/>看醫(yī)生...
李四-->>張三: 很好!
王五->李四: 你怎么樣?
李四-->王五: 很好!
` ``
點點點mermaid
gantt
title 這是個甘特圖
dateFormat MM-DD
section 軟件協(xié)同開發(fā)課程
項目啟動 :done,des1,03-09,7d
項目計劃 :done,des2,after des1,6d
需求分析 :done,des3,after des2,9d
軟件設計 :done,des4,after des3,12d
軟件編碼 :crit,active,des5,04-07,20d
軟件測試 :des6,04-14,15d
項目交付 :des7,after des6,4d
點點點文章來源:http://www.zghlxwxcb.cn/news/detail-600477.html
```mermaid
gantt
title 這是個甘特圖
dateFormat MM-DD
section 軟件協(xié)同開發(fā)課程
項目啟動 :done,des1,03-09,7d
項目計劃 :done,des2,after des1,6d
需求分析 :done,des3,after des2,9d
軟件設計 :done,des4,after des3,12d
軟件編碼 :crit,active,des5,04-07,20d
軟件測試 :des6,04-14,15d
項目交付 :des7,after des6,4d
更多mermaid
語法見倉庫:https://github.com/mermaid-js/mermaid/blob/develop/README.zh-CN.md文章來源地址http://www.zghlxwxcb.cn/news/detail-600477.html
到了這里,關于【筆記】markdown易忘速查(對勾/表格/符號/流程圖)的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網!