Skip to content

Releases: KEINOS/parsedown-extension_table-of-contents

v1.4.1

07 May 03:21
70a9034

Choose a tag to compare

What's Changed

  • feat: add example test runner by @KEINOS in #35
  • feat: add "html" and "markdown" arg option to contentsList() (fix #20) by @KEINOS in #36
  • feat: #15 add custom ID attribute for parsed DIV element for ToC by @KEINOS in #37
  • fix: let the examples (integration test) work on PHP 8.4 by patching Parsedown.php by @KEINOS in #38

Full Changelog: v1.4.0...v1.4.1

v1.4.0

30 Apr 06:20
f232572

Choose a tag to compare

What's Changed

  • Feat phpdoc by @KEINOS in #31
  • feat: psalm test for static analysis by @KEINOS in #32
  • chore: more practical and readable examples by @KEINOS in #33
  • feat #21: ToC retrieval in array format (flat and nested array) by @KEINOS in #34

Full Changelog: v1.3.1...v1.4.0

v1.3.1

08 Apr 01:47
c17a89b

Choose a tag to compare

v1.3.1

  • Refactor and minor changes in tests and examples
  • Full Changelog: v1.3.0...v1.3.1

v1.3.0

07 Apr 00:46
94b8c19

Choose a tag to compare

v1.3.0

  • Feat: Exclusion option arg in body method to omit ToC tag in the returned resuts (#22)
    • Now body method has an optional argument to retreive the body without the ToC tag. Set the second optional argument to true to omit/exclude the ToC tag from the output.

v1.2.2

05 Apr 02:01
02e5a49

Choose a tag to compare

v1.2.2

v1.2.1 Cap PHP8.3

03 Apr 13:58
e00d305

Choose a tag to compare

v1.2.1 Cap PHP 8.3

  • Currently we do not support PHP 8.4 or higher.

v1.2.0 Adapt PHP8.2

19 Feb 01:09
fb27265

Choose a tag to compare

What's Changed

  • Fix: Deprecated string interpolation since PHP 8.2 by @Endy-c in #25 Thanks!
  • Chore: Add contributors and the link to the license.

Full Changelog: v1.1.2...v1.2.0

v1.1.2 Feat. User Defined ToC Markdown Tag

27 Jun 04:10
824b3b0

Choose a tag to compare

Feature

  • setTagToc() method is now available.
    • Implementation of feature request by @vnq at #17 Thanks!
    • With this method, you can define and use the ToC tag in the markdown rather than [toc].

Fix

  • Test that should fail but exits as success 57c688c

v1.1.1 Feat. Parsedown Extra's Anchor identifiers

24 Jun 14:21

Choose a tag to compare

Feature

Fix

v1.1.0 Feat. compatibility with Parsedown Extra

06 May 07:14
4e15093

Choose a tag to compare

Feature

  • Compatible with Parsedown Extra
  • Versioning
    • You can get the ToC extension's version by self::version

Breaking changes

  • Deprecation of class Extension