Liking cljdoc? Tell your friends :D

Unreleased

Added

  • Add hljs-compatible? function. Checks that the version of Highlight.js that is loaded on the page has the functions expected from a compatible version. This is used by re-frame-10x to display a message that the correct dependency is missing in place of syntax higlighted source code. A common cause of an incompatible version being loaded is having a direct project dependency or transitive dependency that depends on a much older version of Highlight.js, such as 10.5.x instead of 11.5.x.

2.0.0 (2022-05-22)

Changed

  • Upgrade Highlight.js to 11.5.1
  • BREAKING: Only include "hightlight.js/lib/core" to fix build performance issues caused by previously loading all languages. Now only Clojure support is registered by default. If you are using any other language, you now need to explicitly require and register it! E.g.
    (require ["highlight.js/lib/languages/rust" :as rust])
    (re-highlight/register-language "rust" rust)
    

1.1.0 (2021-07-14)

Changed

  • Upgrade highlight.js to 11.1.0

1.0.0 (2021-06-23)

Changed

  • Upgrade highlight.js to 11.0.1

0.0.2 (2021-04-06)

Changed

  • Upgrade highlight.js to 10.7.2

0.0.1 (2021-03-23)

Initial release.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close