Hi! I have such a markdown: ``` md #h1 ####### h2 ``` Calling of `marked.lexer` returns such tokens ``` js { type: 'paragraph', text: '#h1' } { type: 'paragraph', text: '####### h2' } ``` But `github` displays `h1` and `h2` as headings, not as `paragraph`. This case works fine in `0.3.3` and is broken since `0.3.4`. Thank you!
Activity
edsadr commentedon Nov 10, 2016
having the same issue in 0.3.6
joshbruce commentedon Dec 25, 2017
See #981
Feder1co5oave commentedon Jan 10, 2018
Only up to 6 hashes are allowed for headings, so
####### h2is not valid.You always need space between the # and the text.
joshbruce commentedon Jan 10, 2018
Surprised I didn't catch the no space part of this...I did with the hashtag submission though; so, at least I'm not completely slacking. ;)