pagedown
pagedown copied to clipboard
Code blocks end up in a single line
You can repro this on demo.html
In the input, if I write a code block such as
var s = "JavaScript syntax highlighting";
alert(s);
it is rendered as a single line in the preview.
It would be great if this was updated. It still seems to be an issue.
not really a fix, but a workaround. Have you tried appending a double-space to the end of your lines? Markdown tends to collapse things, which again, it shouldn't do in a code block, but I know that's what you do outside of it. Maybe that's something you can try.