diff options
-rw-r--r-- | assets/sass/_partial/_post/_code.scss | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/assets/sass/_partial/_post/_code.scss b/assets/sass/_partial/_post/_code.scss index 50fcdd2..2bd16a1 100644 --- a/assets/sass/_partial/_post/_code.scss +++ b/assets/sass/_partial/_post/_code.scss @@ -11,6 +11,10 @@ code { color: $code-color; } +pre > code { + display: block; +} + // highlight.js figure.highlight { margin: 1em 0; @@ -129,11 +133,11 @@ figure.highlight { .hljs-formula { background: map-get($code-highlight-color, formula); } - + .hljs-emphasis { font-style: italic; } - + .hljs-strong { font-weight: bold; } |