Search code examples
python-sphinxrestructuredtext

Some online tool or automation plugin for SublimeText for generating Sphinx RST tables


I am using Sphinx for documentation.

I would like to easily genearate based e.g on CSV file or copy-paste text the table like shown here: reStructuredText Tables.

+------------------------+------------+----------+----------+
| Header row, column 1   | Header 2   | Header 3 | Header 4 |
| (header rows optional) |            |          |          |
+========================+============+==========+==========+
| body row 1, column 1   | column 2   | column 3 | column 4 |
+------------------------+------------+----------+----------+
| body row 2             | ...        | ...      |          |
+------------------------+------------+----------+----------+

Which SublimeText plugin can I use for it or maybe there exists some online tool?


Solution

  • All right I found something like this http://www.tablesgenerator.com/text_tables

    It creates eaxctly what I wanted and you can easily import CSV file, or just copy-paste.