What are the language supported for synthax highlighting in markdown?
Like this in a Pluto notebook for example:
I have seen javascript
and julia
being used but didn’t find any reference saying which languages are supported
What are the language supported for synthax highlighting in markdown?
Like this in a Pluto notebook for example:
I have seen javascript
and julia
being used but didn’t find any reference saying which languages are supported
I know this is late, but this is almost the only thing that turns up when I search for this.
Markdown per se doesn’t actually support any languages; it just lets you attach a string that a renderer is supposed to interpret as a language. So it’s really up to the renderer to support languages. See here for some authority on that.
Now, from what I can see in the HTML, both Pluto.jl and Documenter.jl use the highlight.js
package to actually highlight code snippets. The list of supported languages is here.