highlight.js
Advanced tools
Changelog
Version 9.7.0
A comprehensive bugfix release. This is one of the best things about highlight.js: even boring things keep getting better (even if slow).
=>
functions, highlighted object attributes and
parsing within template string substitution blocks (${...}
).<tag/>
in JSX.HEALTHCHECK
directive in Docker.<...>
.Changelog
Version 9.6.0
New languages:
New styles:
Plus, a few smaller updates for Lasso, Elixir, C++ and SQL.
Changelog
Version 9.5.0
New languages:
New styles:
Notable changes:
Changelog
Version 9.4.0
New languages:
New styles:
Improvements to existing languages and styles:
$this
is highlighted as a keyword in PHP.usize
and isize
are now highlighted in Rust.Changelog
Version 9.3.0
New languages:
New styles:
Improvements to existing languages and styles:
move
to Rust keywordsChangelog
Version 9.2.0
New languages:
New styles:
Improvements to existing languages and styles:
(lambda)
in Scheme is no longer highlighted as a function
call.macro_rules!
is now recognized as a built-in in Rust.Changelog
Version 9.1.0
New languages:
New Styles:
Improvements to existing languages and styles:
struct
as a class-level definition in RustChangelog
Version 9.0.0
The new major version brings a reworked styling system. Highlight.js now defines a limited set of highlightable classes giving a consistent result across all the styles and languages. You can read a more detailed explanation and background in the [tracking issue][#348] that started this long process back in May.
This change is backwards incompatible for those who uses highlight.js with a custom stylesheet. The [new style guide][sg] explains how to write styles in this new world.
Bundled themes have also suffered a significant amount of improvements and may look different in places, but all the things now consistent and make more sense. Among others, the Default style has got a refresh and will probably be tweaked some more in next releases. Please do give your feedback in our [issue tracker][issues].
New languages in this release:
Improvements to existing languages and styles:
Other notable changes:
Changelog
Version 8.9.1
Some last-minute changes reverted due to strange bug with minified browser build:
Changelog
Version 8.9.0
New languages:
Notable fixes and improvements to existing languages:
abstract
and namespace
keywords to TypeScript by [Daniel Rosenwasser][]label
support to Dockerfile by [Ladislav Prskavec][]Other notable changes: