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?


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

# Testing
string = "string"

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


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


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.