Markdown 语法快速入门
标题
第一级标题
# 第一级标题
第二级标题## 第二级标题
第六级标题###### 第六级标题
强调
斜体字 :
*斜体字*
斜体字:_斜体字_
加粗 :**加粗**
斜体字:__斜体字__
列表
无序列表:
‘*’或者‘+’或者‘-’
有序列表:‘数字’加上'. ',eg. '1. '
任务列表(CSDN 的 Markdown 引擎貌似不支持):- [ ]
- [ ]未完成任务
- [x] 已完成任务
插入链接及图片
插入链接:
[名称] + (url)
Eg. Github
插入图片:
![名称] + (url)
Kobe Bryant
插入表格
dog bird cat foo foo foo bar bar bar baz baz baz 代码
|dog | bird | cat| | ---- | : ------ : | :----: | | foo | foo | foo | | bar | bar | bar | | baz | baz | baz |
代码高亮
单行代码高亮:
采用``符号来高亮
Eg.
import openmc
多行代码高亮:
采用```符号来高亮
Eg.
import openmc import os def create_xs() pass if __init__ == "__main__": create_xs()
插入数学公式
Markdown 插入数学公式采用 Latex 语法
- 单列一行居中显示:
f(x)=x2+2x+1(5) (5) f ( x ) = x 2 + 2 x + 1- 原位插入数学公式: f(x)=x2+2x+1 f ( x ) = x 2 + 2 x + 1
插入流程图
Sequence 流程图1
```sequence Title: Here is a title A->B: Normal line B-->C: Dashed line C->>D: Open arrow D-->>A: Dashed open arrow ```
Flow 流程图2
``` flow st=>start: Start:>http://www.google.com[blank] e=>end:>http://www.google.com op1=>operation: My Operation sub1=>subroutine: My Subroutine cond=>condition: Yes or No?:>http://www.google.com io=>inputoutput: catch something... st->op1->cond cond(yes)->io->e cond(no)->sub1(right)->op1 ```