- Fix admin pannel's highlight preview overflow on mobile screens.
v1.4.0 - 2023-06-09
- Allow copy/pasting color code by using
color-preview
instead ofcolor
setting types. - Add code highlight preview for current settings in admin page. (#9)
- Debounce code highlight in preview, using
data-s9e-livepreview-hash
. This way the highlighting is not computed again if the code did not change, which should improve performances.
v1.3.0 - 2023-06-03
- Add a Flarum console command to download and register themes from highlight.js releases. (#5)
- Add integration with
fof/nightmode >= 1.5.2
by switching the highlight theme accordingly. (#8)
- Support Flarum installations that have a separated assets storage by using the filesystem interface as described in the docs.
v1.2.1 - 2023-05-27
- Fix default highlight theme values.
v1.2.0 - 2023-05-27
- Add settings to change code-block's background and text colors. This allows to keep higlight.js themes unchanged.
- Allow to choose the highlight theme for dark and light Flarum styles.
- Add
base16/monokai
theme.
v1.1.0 - 2023-05-17
- Add support links in the metadata of the package.
- Test more PHP versions.
- Setup PHPStan for static code analysis.
- Set 7.3 as the minimum required PHP version.
- Fix a crash when start or end tag are omited.
v1.0.0 - 2023-04-28
First stable release.