看到一个朋友整理的markdown高级语法,很实用,所以就摘录到这里,方便以后查找。
一、表格
|status_code | message | desc |
|------------------|-----------|------|
| 404 | not fond | error |
| status_code | message | desc |
|---|---|---|
| 404 | not fond | error |
注意表格横线的冒号----:,此表示是否居中。
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
| Tables | Are | Cool |
|---|---|---|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
dog | bird | cat
----|------|----
foo | foo | foo
bar | bar | bar
baz | baz | baz
| dog | bird | cat |
|---|---|---|
| foo | foo | foo |
| bar | bar | bar |
| baz | baz | baz |
二、在线编辑器
作业部落开发的一款在线MD编辑器非常好用,还可以云存储,大家可以试试。
作业部落Markdown 编辑阅读器
三、其他高级语法
其他高级语法请参考原文章:Markdown进阶语法整理
[TOC]
相关链接:
Markdown语法大全
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用。你还可以使用@来通知其他用户。