Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RST beautify by duplicating markdown functionality (i.e. use pandoc) #280

Open
puterleat opened this issue Apr 20, 2015 · 2 comments
Open
Assignees

Comments

@puterleat
Copy link

No description provided.

@puterleat 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
@Glavin001 Glavin001 self-assigned this Apr 20, 2015
@Glavin001 Glavin001 added this to the v0.28.0 milestone May 5, 2015
@Glavin001
Copy link
Owner

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 Glavin001 removed this from the v0.28.0 milestone Jun 6, 2015
@OvermindDL1
Copy link

@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.

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

No branches or pull requests

3 participants