I use this CSS snippet to achieve no-wrap in preview mode only.
.markdown-rendered :not(.print) code,
body :not(.print) code {
word-break: normal;
word-wrap: break-word;
white-space: pre;
}
I use this CSS snippet to achieve no-wrap in preview mode only.
.markdown-rendered :not(.print) code,
body :not(.print) code {
word-break: normal;
word-wrap: break-word;
white-space: pre;
}