R language not supported in highlighting

I have a Discourse instance that’s been running for the past year without a hitch. Yesterday I updated it to the latest version and, suddenly, syntax highlighting for R stopped working. As you can see below, Python highlighting still works perfectly.

Is there a way to maybe re-enable this feature on my instance?

library(magrittr)

# Testing
string <- "string"
import pandas as pd

# Testing
string = "string"

You need to add R to the list in the highlighted languages site settings.

3 Likes

Thanks a lot, I didn’t even know this was an option. It must have been removed by the update.

2 Likes