SublimeTableEditor icon indicating copy to clipboard operation
SublimeTableEditor copied to clipboard

Add support for reStructuredText substitution syntax

Open lanior opened this issue 12 years ago • 3 comments

reStructuredText has support for user-defined substition (http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#substitution-definitions). Here is example of usage:

.. |varname| replace:: content

+---------------------+-----------+
|          A          |     B     |
+=====================+===========+
| varname = |varname| | value 1.2 |
+---------------------+-----------+
| value 2.1           | value 2.2 |
+---------------------+-----------+

Buf reformatting (Ctrl+Shift+A) completely breaks table layout:

+-----------+-----------+---+-----------+
|     A     |     B     |   |           |
+===========+===========+===+===========+
| varname = | varname   |   | value 1.2 |
+-----------+-----------+---+-----------+
| value 2.1 | value 2.2 |   |           |
+-----------+-----------+---+-----------+

It would be nice to have support for such tables.

lanior avatar Nov 11 '12 23:11 lanior

Thanks for the feedback!

Now Table Editor use character '|' for detect column. One way for fix this issue is detect column by '+' character, but the changes will break simplicity of work with Table Editor and I am not ready do this changes now.

Thanks!

vkocubinsky avatar Nov 17 '12 13:11 vkocubinsky

Any word on this issue yet? It still happens on the latest version of the plugin.

Rapptz avatar Nov 02 '14 22:11 Rapptz

No changes for this issue.

vkocubinsky avatar Nov 03 '14 04:11 vkocubinsky