Releases: medfreeman/markdown-it-toc-and-anchor
Releases · medfreeman/markdown-it-toc-and-anchor
v4.2.0
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
- Fixed: TypeError: Cannot read property 'breaks' of undefined
(#30)
4.1.1
- Fixed: inexistent environment in markdown-it parsing on second instance
4.1.0
- Added:
tocCallback
option to allow getting toc elements in addition to / instead of @[toc] transformation
4.0.0
- 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
- 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
- Fixed: Reset anchor ids
(#13)
3.0.0
No API changes.
- Changed: this plugin does not require
markdown-it
anymore
(#2)
2.1.0
- 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
- Changed:
markdown-it@^5.0.0
.