Skip to content

Releases: medfreeman/markdown-it-toc-and-anchor

v4.2.0

01 Jan 22:13
Compare
Choose a tag to compare

Bug Fixes

Features

  • add anchorLinkPrefix option #27, thanks ruanyf
  • add wrapHeadingTextInAnchor option #28, thanks jsepia
  • add slugify option, improve example in README, add corresponding test (a085aaf)

4.1.2

07 Mar 18:25
Compare
Choose a tag to compare
  • Fixed: TypeError: Cannot read property 'breaks' of undefined
    (#30)

4.1.1

05 May 21:36
Compare
Choose a tag to compare
  • Fixed: inexistent environment in markdown-it parsing on second instance

4.1.0

23 Apr 22:43
Compare
Choose a tag to compare
  • Added: tocCallback option to allow getting toc elements in addition to / instead of @[toc] transformation

4.0.0

23 Apr 14:56
Compare
Choose a tag to compare
  • Changed: refactored toc generation to allow full markdown processing
  • Removed: indentation option (the output is now generated by markdown-it and has no indentation)
  • Added: dependency to clone
  • Fixed: link inside heading not rendered correctly
    (#7)

3.1.0

19 Apr 22:50
Compare
Choose a tag to compare
  • Added: tocLastLevel option to skip some upper heading levels
    (#1)
  • Fixed: eslint command now using gitignore (fix for Windows), automatic syntax fix
  • Fixed: ava configuration (fix for Windows)
    (#14)

3.0.1

10 Apr 20:22
Compare
Choose a tag to compare
  • Fixed: Reset anchor ids
    (#13)

3.0.0

04 Apr 20:29
Compare
Choose a tag to compare

No API changes.

  • Changed: this plugin does not require markdown-it anymore
    (#2)

2.1.0

17 Jan 08:07
Compare
Choose a tag to compare
  • Fixed: Should support unicode heading
    (#5
    via #6)
  • Added: anchorLinkSpace option to enable/disable inserting a space between
    the anchor link and heading
    (#6).
  • Added: anchorLinkSymbolClassName customize the anchor link symbol class
    name
    (#6).

2.0.0

01 Nov 19:33
Compare
Choose a tag to compare
  • Changed: markdown-it@^5.0.0.