How to disable syntax highlighting on Discourse?

(Incidentally, how do I get Discourse to format backticked code blocks without attempts at Haskell syntax highlighting?)

I think that is currently impossible. You can use four space indentation which doesn’t have any highlighting.

Edit: I just found this: Select the programming language used in code blocks - users - Discourse Meta. It seems you can use:

my plain text

So I guess this Discourse instance is “helpfully” set to Haskell highlighting by default?

<pre>-formatting works here:

main = putStrLn "No highlighting, please."


Yes, that and as Jaro said, four-space indentation:

import Acme

main :: IO ()
main = launchRocket
1 Like