Discourse code highlighting is broken

Discourse code highlighting no longer works.
Here’s an example of explicit use of the bash tag:

# Comment
echo ${VAR}
1 Like

Thanks, I’ll look into what might have changed.


More examples:


#include <stdio.h>

int main()
  printf("Hello world\n");
  return 0;


fn main() {
    // Statements here are executed when the compiled binary is called.

    // Print text to the console.
    println!("Hello World!");

Did it work before? I don’t remember highlighting on code blocks

It used to work like this:

We’ve identified the problem and a fix is ready. I’m going to wait until Monday to deploy, on general principle. :slight_smile:

1 Like