- Ported to swift 4.2.
- highlight.js updated to version 9.13.1.
- Added ability to specify a different highlight.min.js file than the one included.
- Removed unneeded language files.
- Now is possible to use fonts without an italic variation.
- Ported to swift 4.
- highlight.js updated to version 9.12.0.
- Possible crash in Highlightr when not using fast render .
- highlight.js updated to version 9.9.0.
- Added language automatic detection.
- highlight.js updated to version 9.8.0.
- Updated to Swift 3 and Xcode 8 compatibility
- Adopted Swift 3 API Design Guidelines
highlightr.highlight("swift", code: code, fastRender: true)
->highlightr.highlight(code, as: "swift")
fastRender
is now optional and defaults to truehighlightr.setTheme("paraiso-dark")
->highlightr.setTheme(to: "paraiso-dark")
- highlight.js updated to version 9.6.0.
- Added callback that notifies changes of the theme.
- Changing the theme updates the currenlty highlighted code (CodeAttributedString)
- highlight.js updated to version 9.5.0.
- CodeAttributedString API was restructured.
- CodeAttributedString declares a delegate that gets notified of highlighting events.
- Better documentation.
- Possible crash in CodeAttributedString when no language is specified.