-
Hi is it possible to get code blocks to wrap, so it fits the screen width? Text wrap works fine for normal text, just not the code blocks. In this example I've pasted some sample code between three backticks, and you can see the lines go past the edge. I'm just hoping to see all the code without having to horizontally scroll/drag. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can use CSS and Markor's inject-to-head settings option for this. The element that needs to be styled is Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/white-space |
Beta Was this translation helpful? Give feedback.
-
I make the option |
Beta Was this translation helpful? Give feedback.
You can use CSS and Markor's inject-to-head settings option for this. The element that needs to be styled is
pre
orcode
.Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/white-space