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

New lines at the end of code blocks are being removed #4

Open
amilner42 opened this issue Jun 12, 2019 · 0 comments
Open

New lines at the end of code blocks are being removed #4

amilner42 opened this issue Jun 12, 2019 · 0 comments

Comments

@amilner42
Copy link

New lines at the end of code blocks are being removed.

If you check github code blocks for instance, they are not removed, just like the code in this very markdown:

a = 5




To reproduce, simply try adding some new lines at the end such as:

import Markdown

...

view =
  Markdown.toHtml
            []
            """```javascript
            a = 5




            ```

            """

And you will get the following:

image

NOTE that it chopped off all the final empty newlines.

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

No branches or pull requests

1 participant