Commit 1b69eb01 authored by Abizer Nasir's avatar Abizer Nasir

Turn off word wrapping for code

Using Highlight.js, when I use fenced code blocks, the text wraps which doesn't look very nice.

This is a bit of a brute force fix for the issue. There might be a better way of doing it, but this
works for me for now.
parent 80342613
......@@ -255,3 +255,8 @@ header.title
margin-top: 30px;
}
}
pre > code {
white-space: pre;
word-wrap: initial;
word-break: initial;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment