Skip to content

Releases: torchlight-api/torchlight-commonmark-php

v0.5.5

23 Feb 17:10
eb618ae
Compare
Choose a tag to compare

0.5.5 - 2022-02-23

Changed

  • Updated torchlight-laravel version constraint

New Contributors

Full Changelog: v0.5.4...v0.5.5

v0.5.4

01 Feb 17:08
Compare
Choose a tag to compare

0.5.4 - 2022-02-01

Added

  • Ability to set multiple themes for e.g. dark mode

Full Changelog: v0.5.3...v0.5.4

v0.5.3

20 Jan 01:24
Compare
Choose a tag to compare

0.5.3 - 2022-01-19

Added

  • Attributes returned from the API will be added to the code block. (The API now returns data-lang as an attribute.)

Full Changelog: v0.5.2...v0.5.3

v0.5.2

27 Sep 02:04
Compare
Choose a tag to compare

0.5.2 - 2021-09-26

Fixed

  • Indented code works correctly now.

v0.5.1

07 Sep 02:30
Compare
Choose a tag to compare

0.5.1 - 2021-09-06

Changed

  • When loading content from files using the <<< path/to/file.php convention, you can now wrap it in a comment e.g. // <<<path/to.file.php.

v0.5.0

07 Sep 01:28
Compare
Choose a tag to compare

0.5.0 - 2021-09-06

Changed

  • Deprecated \Torchlight\Commonmark\TorchlightExtension in favor of the versioned \Torchlight\Commonmark\V1\TorchlightExtension and \Torchlight\Commonmark\V2\TorchlightExtension extensions

Added

  • You can now load files from markdown by using the <<< path/to/file.php convention.
  • Added support for CommonMark V2

v0.4.1

02 Aug 22:50
Compare
Choose a tag to compare

0.4.1 - 2021-08-02

Changed

  • Use a render function instead of the deprecated wrapped response from the API.

v0.4.0

31 Jul 19:24
Compare
Choose a tag to compare

0.4.0 - 2021-07-31

Changed

  • Bump torchlight/torchlight-laravel dependency.
  • Use Torchlight::highlight instead of (new Client)->highlight

v0.3.3

31 Jul 13:46
Compare
Choose a tag to compare

0.3.3 - 2021-07-31

Changed

  • Changed registerCustomBlockRenderer to useCustomBlockRenderer.

v0.3.2

31 Jul 13:27
Compare
Choose a tag to compare

0.3.2 - 2021-07-31

Added

  • Ability to register a custom block renderer. Needed for Ibis client.