Open then0rTh opened 5 years ago
ran into this too - without it, my newlines was parsing like this
and with this replacement it parses like this:
still not a clean fix (newlines are condensed) but progress.
the newlines not being paragraphs look like a known issue, i guess. https://github.com/developit/snarkdown/issues/11
i tried this replacement strategy https://github.com/developit/snarkdown/issues/11#issuecomment-813364966 and it worked for me.
Solved it by
.replace(/\r\n/g, '\n')
prior to parsing.Feel free to
[won't fix]
this issue -\r\n
are weird anyway.