Markdown 语法说明
2017-05-14 20:39:45 1 举报
AI智能生成
Markdown语法
作者其他创作
大纲/内容
概述
Markdown 的目标是实现「易读易写」。
兼容 HTML Markdown 语法的目标是:成为一种适用于网络的书写语言。
特殊字符自动转换
基本语法
标题
#一级标题
##二级标题
###三级标题
在行首插入 1 到 6 个 # ,对应到标题 1 到 6 阶
文字修饰
加粗:**加粗文字**
斜体:*斜体文字*
换行
两个空格
插入图片
在线图片 
有序列表
有序列表则使用数字接着一个英文句点:
1.空格<br>2.空格
无序列表
无序列表使用星号、加号或是减号作为列表标记<br>
-空格 或 +空格 或 *空格
链接
普通链接
<URL>
文本链接
[百度首页](http://www.baidu.com)
拓展语法
表格
| Tables | Are | Cool |<br>| ------------- |:-------------:| -----:|<br>| col 3 is | right-aligned | $1600 |<br>| col 2 is | centered | $12 |<br>| zebra stripes | are neat | $1 |
tasklist
- [ ] 任务一 未做任务 `- + 空格 + [ ]` <br> - [x] 任务二 已做任务 `- + 空格 + [x]`
子主题
子主题
代码块
缩进 4 个空格或是 1 个制表符
在代码前后增加 三个反单引号:''' demo '''
引用
>空格
流程图
<font face="微软雅黑"><span style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;">```flow</span><br style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;"><span style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;">st=>start: Start</span><br style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;"><span style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;">e=>end: End</span><br style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;"><span style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;">op1=>operation: My Operation</span><br style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;"><span style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;">sub1=>subroutine: My Subroutine</span><br style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;"><span style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;">cond=>condition: Yes or No?</span><br style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;"><span style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;">io=>inputoutput: catch something...</span><br style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;"><span style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;">st->op1->cond</span><br style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;"><span style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;">cond(yes)->io->e</span><br style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;"><span style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;">cond(no)->sub1(right)->op1</span><br style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;"><span style="color: rgb(85, 94, 88); font-size: 16px; line-height: 26px;">```</span></font>
甘特图
以 ``` 开头,以 ``` 结尾。在 ``` 后另起一行,书写 gantt ,用以确定将要绘制的是甘特图。
0 条评论
下一页