Maintain same font size in regular text and code blocks

Use case or problem

Would like the font size to be identical between regular text and code blocks. Both are Consolas right here, and I have not adjusted font size settings, however the code block text is noticeably smaller.

image

Proposed solution

Synchronize font size between regular text and code blocks.

Achieved this in default theme with

.markdown-source-view.cm-s-obsidian.mod-cm6 .HyperMD-codeblock {
    font-size: var(--font-size-code);
}

in CSS

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.