Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Headings with no space after # rendered in export but not in preview #126

Closed
nloveladyallen opened this issue Nov 7, 2016 · 0 comments
Closed
Labels

Comments

@nloveladyallen
Copy link
Contributor

The following code:

#hi (no space)
# hi (space)

Displays in the preview as:

screen shot 2016-11-07 at 5 35 41 pm

And exports as:

screen shot 2016-11-07 at 5 36 25 pm

Having no space after the # is not officially documented behavior, and is not supported by GFM, but is supported in Markdown.pl. Regardless of whether you want to support it, the preview and the export should be consistent.

If you want to support it, CodeMirror has an option. I couldn't find an option in kramed documentation to disable it, but I may have missed something.

@brrd brrd added the bug label Nov 8, 2016
@brrd brrd closed this as completed in 1c44f79 Mar 13, 2017
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants