markdown 语法

markdown 画流程图

语法如下:

```flow
st=>start: 报警发生
e=>end: 报警处置完毕
selected=>operation: 选择报警
handle=>condition: 报警确认或复位?|rejected
stamp=>operation: 贴标签
editStamp=>operation: 修改标签
accept=>operation: 确认
complete=>operation: 复位

st->selected->handle
handle(no)->editStamp->complete
handle(yes)->stamp->accept
accept->editStamp->complete
complete->e

效果如下:

Created with Raphaël 2.1.0 发生 选择 确认? 贴标签 确认 复位 处置完毕 贴标签 yes no

语法如下:

```flow
st=>start: Start|past:>http://www.google.com[blank]
e=>end: End:>http://www.google.com
op1=>operation: My Operation|past
op2=>operation: Stuff|current
sub1=>subroutine: My Subroutine|invalid
cond=>condition: Yes 
or No?|approved:>http://www.baidu.com
c2=>condition: Good idea|rejected
io=>inputoutput: catch something...|request

st->op1(right)->cond
cond(yes, right)->c2
cond(no)->sub1(left)->op1
c2(yes)->io->e
c2(no)->op2->e

效果如下:

Created with Raphaël 2.1.0 http://www.google.com Start http://www.google.com My Operation http://www.baidu.com Yes or No? http://www.baidu.com Good idea catch something... http://www.google.com End http://www.google.com Stuff My Subroutine yes no yes no

markdown文档页内跳转方法

语法如下:

* [第一章](#c1)
* [第一节](#1.1)
* [第二节](#1.2)

* <h4 id='c1'>第一章
* <h4 id='1.1'>  第一节
* <h4 id='1.2'> 第二节

效果如下:

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值