Post

Markdown

Markdown demo

Markdown

目录

  1. [书写格式](#书写格式)
  2. [链接跳转](#链接跳转)
  3. [流程图与序列图](#流程图与序列图)

书写格式

返回目录

引用

这里 是送 引用

列表

  1. 有序排列
  2. 这样
  • 无序列表
  • 这样
  • 还有
  • 这样

复选框

  • 计划
  • 这样
  • 设定的

代码块

代码块:

1
2
3
int main(){
    return 0;
}

数学公式

\(\frac{\partial f}{\partial x} = 2\sqrt{a}x\)

行内数学公式 $\theta=x^2$

表格

表格 | 姓名 | 年龄| 成绩| | :-: | :-: | :-: | | | | | | | | | | | | |

横线

横线 — 哈哈哈

字体

斜体 粗体 删除

下划线

下标 H~2~O , 上标 X^2^

==高亮文字== 高亮文字

函数高亮

函数

printf()

表情

表情 : 表情符号汇总 表情单词备忘表 :smile: 😀

链接跳转

返回目录

脚注

脚注: 我是脚注[^查看注释]

行内引用

链接 行内链接 百度

引用链接 百度

标题跳转

跳转标题请参考Markdown

图片

URL: https://google.com

图片 google

流程图与序列图

返回目录

流程图与序列图

graph TD
A --> B

流程图

st=>start: 开始 :>https://www.baidu.com
op=>operation: 你的操作|:>#h 
happy=>operation: :smile:
sub=>subroutine: 子程序
cond=>condition: 是 / 否?
i=>inputoutput: 输入
o=>inputoutput: 输出
e=>end
st(right)->op->cond
cond(yes)->sub->o->e
cond(no)->i->op

mermaid参考

方向: TB 上下 BT 下上 RL 右左 LR 左右

形状

graph 
subgraph 子程序one
A[矩形]
B(圆角)
end
subgraph tow
C([椭圆形])
D((圆形))
E>缺角]
end
graph TB
F{菱形}
G[(数据库)]
H6
I[/平行四边形/]

命令作用
A –> B直线箭头
A – B直线
==加粗线
-.-虚线
A —|text|B加注释
A –text— B加注释
graph TB
A ---> B & C & D & E
subgraph one
K1 ---> G -.-> E   
end
%% 这里是注释 

click K1 "https://www.baidu.com" "baidu"
graph TB
A[mermaid]--->B(形状) & C(线) & D(子流程图) & E[[注释+并列]]
This post is licensed under CC BY 4.0 by the author.