~~~~
fenced
line1
line2
line3
line4
~~~~

indented
line1
line2
line3
line4

~~~~
fenced with 2 spaces at end of each line
line1
line2
line3
line4
~~~~

~~~~
fenced with a blank line between each pair of content lines

line1

line2

line3

line4

~~~~

Follow

@freemo How do we do multiline codeblocks on kramdown? On fenced codeblocks, linebreaks are supposed to be taken as they are ("Since everything between the delimiting lines is taken as is, the content of a fenced code block does also not support hard-wrapping." - kramdown.gettalong.org/syntax.), but in practice newlines get stripped out there too. Am I doing something wrong?

@digital_carver Let me look into it, possible this is some sort of bug.. curious if it works with double return...

~~~
line one here;

line two here;

line three not here, over there!

I am line three, fooled you!
~~~

@digital_carver Ok that looks like a bug to me then...

Let me see what I can do. If you can please file it at the git repo as a bug so I dont forget it, but if you are unwilling let me know and I can do it on yoru behalf.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.