You can use the language css class on a <code>
tag: print(3.14)
.
Are you looking for something else? The inline <code>
tag already will use a monospace font
With the syntax highlighting, it looks like you also get a smaller font size (which looks better with a monospace font), as well as a different background color. So that’s cool.
Ideally, both of those would also be set when using inline code from markdown backticks as well. Right now, that just gets size 18 monospace, no background or border to distinguish it from surrounding text.
hello
hello
hello