Skip to content

Releases: KEINOS/parsedown-extension_table-of-contents

v1.2.0 Adapt PHP8.2

19 Feb 01:09
fb27265
Compare
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
Compare
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
Compare
Choose a tag to compare

Feature

Fix

v1.1.0 Feat. compatibility with Parsedown Extra

06 May 07:14
4e15093
Compare
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

v1.0.2 Feat. [toc] tag/element work

23 Sep 03:01
ecbafd6
Compare
Choose a tag to compare
  • Feat.: [toc] tag (#2)
    • Now with text() method, [toc] tag(s) will be replaced to parsed table of contents.
  • NOTE:
    • The body() method omits parsing [toc] tag. Use body() if you wish not to parse the [toc] tag.

v1.0.1

21 Sep 04:55
5537a44
Compare
Choose a tag to compare
  • Fix: Issue #9 Exclude unnecessary files in composer archive. Only minimum files will be downloaded.
  • Docs: More samples in README.md.

v1.0.0 (First major release)

17 Sep 03:58
5537a44
Compare
Choose a tag to compare
  • Feat composer install
  • Add tests (powered by Travis CI)
  • More sample usage
  • Important:
    • The main class name has been changed from Extension() to ParsedownToC().
    • As a compatibility Extension() is aliased to ParsedownToC() but soon will be deprecated.

v2018.04.07

07 Apr 13:24
Compare
Choose a tag to compare

Fix

Add

  • Add ToC output as JSON and Array
    $string = $Parsedown->contentsList();        // As HTML string
    $array  = $Parsedown->contentsList('array'); // As array
    $json   = $Parsedown->contentsList('json');  // As json
    

See work on line: https://paiza.io/projects/0TghplxParLqyrP1tjAg6g

First official release

23 Mar 07:15
097a0e5
Compare
Choose a tag to compare

Fix

  • Fix the first title is not h1, PR #1 by @yangxgkem Thanks!!