Code not well formatted in forum messages

Consider this message: Concrete 9.0 Release Candidate 2 Now Available! - #10 by mlocati

In that message I wrote some code. Usually code is rendered with a monospace font.
BTW we have a CSS rule like this:

#main-outlet * {
    font-size: 16px !important;
    font-family: "Noto Sans" !important;
    text-transform: none !important;
}

this rule forces the code to use the same font as the “normal” text.

You can see the issue in the above message too

Thanks for reporting. There’s a ticket for it already, but I’m not sure when it will be fixed. We also need to get the back ticks to stop being treated as combining diacritics…

If you’re feeling ambitious, the repository is here: https://github.com/concrete5/discourse_concretecms_theme :slight_smile:

1 Like

See https://github.com/concrete5/discourse_concretecms_theme/pull/14

1 Like