Makedown的一些常用语法

编辑器 atom

下载:https://github.com/atom/atom/releases

预览

Ctrl + shift + m

导出pdf

安装插件markdown-pdf

导出:File ->

代码高亮

  • ``` C
  • printf("hello word!\n");
  • ```

效果:

 printf("hello word!\n");

流程图

  • ```flow
  • st=>start: Start:>https://www.zybuluo.com
  • io=>inputoutput: verification
  • op=>operation: Your Operation
  • cond=>condition: Yes or No?
  • sub=>subroutine: Your Subroutine
  • e=>end

  • st->io->op->cond

  • cond(yes)->e
  • cond(no)->sub->io
  • ```

效果:

st=>start: Start:>https://www.zybuluo.com
io=>inputoutput: verification
op=>operation: Your Operation
cond=>condition: Yes or No?
sub=>subroutine: Your Subroutine
e=>end

st->io->op->cond
cond(yes)->e
cond(no)->sub->io

强调字或词

使用`...`

用于表明一句话中的`关键字`和`词`

效果:

用于表明一句话中的关键字

加粗

文字两端使用2个“*”或者“_”夹起来

将需要设置为斜体的文字两端使用1个“*”或者“_”夹起来

图片

![Alt text](/path/to/img.jpg)

![Alt text](/path/to/img.jpg "Optional title")
Copyright © Winddoing 2017 all right reserved,powered by Gitbook该文件修订时间: 2018-04-24 09:32:00

results matching ""

    No results matching ""