I want to use a monospace font for editing and a sans-serif for reading – is this possible? I can only see a single “Text font” parameter in the settings and can’t find plugins that can set different fonts.

  • dowath@kbin.social
    link
    fedilink
    arrow-up
    4
    ·
    11 months ago

    You can also do this with any theme if you setup a CSS Snippet:

    // This is the one that works for me
    .markdown-source-view.mod-cm6 .cm-scroller {
        font-family: monospace;
    }
    
    // You may also want to do this one
    .markdown-source-view {
        font-family: monospace;
    }
    
    

    Then reading view will use whatever font you’ve configured in the settings.