developit / snarkdown

:smirk_cat: A snarky 1kb Markdown parser written in JavaScript
http://jsfiddle.net/developit/828w6t1x/
MIT License
2.3k stars 108 forks source link

#sth parses as h1 but should be parsed as #sth and # sth should be parsed as h1 #64

Open shahabbasi opened 6 years ago

hengnee commented 3 years ago

This should be easy. At capture group #14, just insert 1 space (# {1,6})