QuantumJS
Edit Page
Code Highlight Changelog
What has changed in quantum-code-highlight for each release.
Initial public release of quantum-code-highlight.
entityTransformsoptionsObjectObject[EntityTransform]
Added
A function that returns a set of EntityTransform functions for use in quantum-html
highlightCodecodeStringlanguageStringString
Added
A function that takes a chunk of code and applies highlight.js highlighting, returining the html with highlight classes applied.
This function is used in the @@codeblock entity but can be used within custom entity transforms if required.
If using this directly, you must add the stylesheetAsset in the transform or the highlight colours will not be applied.
1.0.0
Version 1.0.0 is an unsupported version of the library.