About markdown syntax highlighter


(Thiago Souza) #1

Hi @discourse,

If I were to develop another markdown syntax highlighter (such as json, http, etc) would it be a markdown-it plugin such as markdown-it-sub?

If not, can you please direct me where I could learn more about writing new markdown syntax highlighter?

Best


(Sam Saffron) #2

Syntax highlighter would be neither :slight_smile:

Have a look at: https://highlightjs.org/ we are on version 9.13.1


(Thiago Souza) #3

Thanks @Sam_Saffron!

I've sent a PR to highlight.js so they add support to Kibana Dev Tools syntax https://github.com/highlightjs/highlight.js/pull/1924

I am not sure when/if they will merge that. Do you think we could look into adding that change into the version used by you?