Codeblock line break behaviour?

I upgraded to Joplin 2.4.9 (prod, win32)
os: Win 10

hi guys, i would like to know if the existence of no line break is now the default behavior, it destroyed all my notes that had "one liners" code

I do not know if text wrapping in fenced code blocks was ever introduced as a default but Joplin used to do what you are seeing.

I have had the below css in my userstyle.css file for a long time to ensure that fenced code wraps.

code {
    white-space: pre-wrap;
}
1 Like

Thank you very much. I really appreciate it! :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.