Skip to content

Releases: KEINOS/parsedown-extension_table-of-contents

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

23 Sep 03:01
ecbafd6

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

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

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

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

Choose a tag to compare

Fix

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