Discourse code highlighting no longer works.
Here’s an example of explicit use of the bash
tag:
# Comment
echo ${VAR}
Discourse code highlighting no longer works.
Here’s an example of explicit use of the bash
tag:
# Comment
echo ${VAR}
Thanks, I’ll look into what might have changed.
More examples:
C:
#include <stdio.h>
int main()
{
printf("Hello world\n");
return 0;
}
Rust:
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.