- 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.