All notable changes to shiki-php
will be documented in this file.
- fix: support string and object for
token.htmlStyle
by @Barbapapazes in #28
Full Changelog: https://github.com/spatie/shiki-php/compare/2.2.1...2.2.2
- fix: create shiki with dual themes by @Barbapapazes in #27
Full Changelog: https://github.com/spatie/shiki-php/compare/2.2.0...2.2.1
- feat: support (at least) dual themes by @Barbapapazes in #26
- @Barbapapazes made their first contribution in #26
Full Changelog: https://github.com/spatie/shiki-php/compare/2.1.0...2.2.0
- Allow running in vanilla PHP projects by @timacdonald in #25
- Re-add
getAvailableLanguages
,getAvailableThemes
,languageIsAvailable
andthemeIsAvailable
by @s3ththompson in #23
- @timacdonald made their first contribution in #25
- @s3ththompson made their first contribution in #23
Full Changelog: https://github.com/spatie/shiki-php/compare/2.0.0...2.1.0
- The
getAvailableLanguages
,getAvailableThemes
,languageIsAvailable
andthemeIsAvailable
methods have been removed. These are no longer necessary as Shiki 1.0 lazy loads these when necessary.
- feat: upgrade support to shiki v1 by @heywhy in #21
- Close code block by @mxsgx in #15
- Update README.md by @joshbruce in #17
- Fix badges by @erikn69 in #18
- feat: support tj/n by @axelrindle in #20
- @mxsgx made their first contribution in #15
- @joshbruce made their first contribution in #17
- @erikn69 made their first contribution in #18
- @axelrindle made their first contribution in #20
- @heywhy made their first contribution in #21
Full Changelog: https://github.com/spatie/shiki-php/compare/1.3.0...2.0.0
- Allow php7.4 by @jonassiewertsen in #14
- @jonassiewertsen made their first contribution in #14
Full Changelog: https://github.com/spatie/shiki-php/compare/1.2.0...1.3.0
- Add information to README.md about using NVM by @Drewdan in #10
- Update antlers.tmLanguage.json by @JohnathonKoster in #13
- Allow for user customizable renderer scripts by @mallardduck in #9
- @Drewdan made their first contribution in #10
- @JohnathonKoster made their first contribution in #13
- @mallardduck made their first contribution in #9
Full Changelog: https://github.com/spatie/shiki-php/compare/1.1.7...1.2.0
- fix Node path
- add common locations to look for node
- Update Antlers syntax highlighting
- Fix compatibility on lower versions of Node
- Fix an issue where embedded languages weren't being highlighted correctly
- Fix an issue where focus was applied to the Shiki div when not needed
- Fix an issue when passing lines to be highlighted
- You can now mark lines as
highlighted
,added
,deleted
orfocus
- significantly improve speed
- use default executable name
- initial release