Closed Figmenta1991 closed 2 years ago
Please change font properties in .CodeMirror
rules. E.g.:
.CodeMirror {
font-family: "Fira Mono";
font-size: ...
}
I have the same problem but css above doesn't work. My problem was solved by using:
.CodeMirror pre.CodeMirror-line,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber,
.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror {
font-size: 22px !important;
line-height: 1.5;
}
I cannot find the css parameter to change the code block font size. I can change the "inline code font size" with something such as --ct-inline-code-font-size: 1.5em; But I cannot change, let's say the "out code font size" or the font size of a block of code.
Can anyone help me? Thanks a lot!