在Markdown文档中插入表格(table)

插入表格算是Markdown的扩展语法

使用很简单,示例如下:

1
2
3
4
5
| 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

注:表头和数据行之间用|----|隔开