mkdocs-rtd-dropdown
mkdocs-rtd-dropdown copied to clipboard
Code Fences not being displayed properly
Dear Developers,
Unfortunately the code fences are not working properly with the actual version. They are being displayed, however, new lines are not recognized. Everything is being displayed into one single line, could you please have a look at it ?
Kind Regards, Cristian
I also experience the same issue. More specifically I try to display a JSON code block and it is displayed in one line.
Same for me!
+1!
In css/theme_extra.css add the important property to line 75:
pre code {
white-space: pre !important; /* line 75 */
word-wrap: normal;
display: block;
padding: 12px;
font-size: 12px;
}