The editor window used to enter a new topic has an icon </>
which allow me to enter preformatted code. But … the font used in
the editor window does not have a fixed width, which makes it hard to indent
the code samples.
Is it possible to change the font used in the editor window?
This isn’t really answering your question, but you can see a “preview” version on the right that shows code snippets in a monospace font, right?
I assume you’re aware of that, and you want to use a monospace font for the left half as well, right?
Ooh, it looks like discourse themes can have settings:
Yes, monospace for the left was what I had in mind.