-
Notifications
You must be signed in to change notification settings - Fork 356
problem with <H*> tag conversion #293
Comments
This package uses https://github.com/chjj/marked to generate the HTML so you might want to open an issue there.
That is interesting, GitHub requires the space, what converters are you using that don't? |
For me it looks like a GitHub feature. Based on Grubers original dokumentation, the whitespace is requried. Also GitHub describes that in their markdown-basics. |
They certainly have a space in the example 😄 But it is not specific to Github, many markdown editors/parsers support it such as WMD (stack overflow), StackEdit and MacDown. |
Thanks for the interest in this. Just for information's sake: I had been using markdown with Jekyll, and have never used the space, so it kind of threw me off at first. But yes, could very well be required with other converters. |
The CommnMark Specification also says, you should have a space, to avoid stuff like this: # Header
I want to tell you about issue
#5, it is our priority <-- no headline |
@leipert : I agree, the space is best practise but not supporting a thing that is used widely AND is supported by many converters seems like a shortcoming. If you don't get the correct preview then it is not really a preview. I had to switch to another package because markdown preview doesn't give a correct representation of the files I'm working with. |
A space is required after hashtags to make the conversion for <H*> tags work. Normally this is not required for markdown converters.
input:
result:
input:
result:
The text was updated successfully, but these errors were encountered: