Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Add support for reStructuredText substitution syntax #12

Open
ghost opened this issue Nov 11, 2012 · 3 comments
Open

Add support for reStructuredText substitution syntax #12

ghost opened this issue Nov 11, 2012 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 11, 2012

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.

@vkocubinsky
Copy link
Owner

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!

@Rapptz
Copy link

Rapptz commented Nov 2, 2014

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

@vkocubinsky
Copy link
Owner

No changes for this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants