You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
puterleat
changed the title
Add RST beautify by duplicating markdown functionality (i.e. use pandc)
Add RST beautify by duplicating markdown functionality (i.e. use pandoc)
Apr 20, 2015
If you change your Atom editor's language to Markdown and beautify, does it work as expected? If so, I can simply add RST and let the current Markdown beautifier (no longer RST, see #292 ) handle RST.
@Glavin001 No it does not, instead it compresses most chunks of 'things' into a single line, which breaks the commands (most 'commands' in rst are lines that start with .. then the command, along with newlines and the text for the rest of the command is shifted. For example, where a code block in markdown would be:
2+2
The same thing in rst would be:
.. code:: python
2+2
If you have a few of such .. commands like:
.. blah:: 42
.. blorp:: something
.. This is a comment
Then beautify in markdown mode transforms that into:
.. blah:: 42 .. blorp:: something .. This is a comment
And that is just one example of many things that break.
No description provided.
The text was updated successfully, but these errors were encountered: