Markdown in Kate

Hello,

How can I increase the font size of the mono font block in the preview mode? “Ctrl+Mouse Scroll” increases all parts except the said mono font text block. Asking AI and tried various ways suggested by it, yielded to no desired result. I’m looking for a permanent solution to this “issue”?

Quick tried ways:

  1. mkdir -p ~/.local/share/kmarkdownpart

  2. nano ~/.local/share/kmarkdownpart/style.css

  3. /* Scales the text you see in your screenshots */
    body {
    font-size: 1.1rem !important;
    line-height: 1.6;
    }

    /* Specifically targets the ‘small’ mono blocks */
    code, pre, tt {
    font-size: 1rem !important;
    font-family: “Hack”, “Fira Code”, “JetBrains Mono”, monospace !important;
    }

  4. nano ~/.config/kmarkdownpartrc

  5. [General]
    StyleSheet=~/.local/share/kmarkdownpart/style.css

Debian 13.4 Trixie KDE Plasma DE

Thanks in advance!