reStructuredText(RST)文档中的表格制作

沙枣 发布于 2013/08/21 19:54
阅读 2K+
收藏 0

reStructuredText 标记语言中的表格,说明书中说是自己绘制的,请问大家真的是自己绘制的吗?这岂不是比用 Coredraw 画图还辛苦?

Two syntaxes for tables:

  1. Grid tables; complete, but complex and verbose:

    +------------------------+------------+----------+
    | Header row, column 1   | Header 2   | Header 3 |
    +========================+============+==========+
    | body row 1, column 1   | column 2   | column 3 |
    +------------------------+------------+----------+
    | body row 2             | Cells may span        |
    +------------------------+-----------------------+
  2. Simple tables; easy and compact, but limited:

    ====================  ==========  ==========
    Header row, column 1  Header 2    Header 3
    ====================  ==========  ==========
    body row 1, column 1  column 2    column 3
    body row 2            Cells may span columns

加载中
0
Honghe
Honghe
手写麻烦,建议使用sublime text的插件,sublime restructured text snippets,绘制表格方便, 这里是详细文档 https://github.com/dbousamra/sublime-rst-completion#magic-tables
返回顶部
顶部