Odd syntax highlighting

From the deepstream forum:

On Github, using markdown I can specify the language on the first line of a code quote block

Screenshot from 2020-03-16 11-09-37

def like():

And it seems to work for Python here but when I tried “shell” on that thread it didn’t work. Is there a list of languages supported by the new forum software? Perhaps syntax highlighting could be disabled unless a language is explicitly specified?

highlight.js is used for syntax highling.

Here’s the list of supported languages: https://highlightjs.org/static/demo/

For shell commands, try: ```bash

1 Like