openSUSE / suse-xsl

DocBook XSL Stylesheets for SUSE branding
Other
11 stars 10 forks source link

update highlight.js #331

Open ghost opened 7 years ago

ghost commented 7 years ago

the hl.js authors vastly improved yaml highlighting recently. let's profit!

note the file contrib/highlighting/configuration

tomschr commented 2 years ago

:information_source: According to the Git log, Stefan added highlight.js in April 2016. That must be version 9.4.0, released May 2016.

Now 11.6.0 is the latest version.

tomschr commented 2 years ago

It could make sense to download an adjusted set of supported languages from https://highlightjs.org/download/. I'd select:

For us, I would select: Bash, C, C++, CSS, Diff, HTML/XML, JSON, Java, JavaScript, Makefile, Markdown, PHP, Plain text, Python, Python REPL, Ruby, SQL, Shell Session, TOML/INI, YAML.