-
I've made a CSS-file based on the gaia template (i.e. I did an Among other things, I wanted to change the background color and the font color for code {
background-color: ghostwhite !important;
color: black;
} This works fine for a multiline code block. But when I'm using a code fragment inline, then only the text up to the last character gets the How can I get the complete line with the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
pre, code {
background-color: ghostwhite !important;
color: black;
} Generally CommonMark transforms the code block in Markdown to the |
Beta Was this translation helpful? Give feedback.
Generally CommonMark transforms the code block in Markdown to the
<code>
element within the<pre>
element. Try styling bothpre
andcode
with the same color style.