All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- better empty heading check, #34, #36, #45 (00ddf0b)
- remove potential infinite loop, DDOS vector (1e55cc1)
- restore class methods on Token objects (b1b8855)
- change typography option to typographer, #38, thanks cesalberca
- nested anchors support, #46, thanks watagashi
- add
anchorLinkPrefix
option #27, thanks ruanyf - add
wrapHeadingTextInAnchor
option #28, thanks jsepia - add
slugify
option, improve example in README, add corresponding test (a085aaf)
- TypeError: Cannot read property 'breaks' of undefined (#30)
- add
anchorLinkPrefix
option (3f35d5a)
- inexistent environment in markdown-it parsing on second instance
tocCallback
option to allow getting toc elements in addition to / instead of @[toc] transformation
- 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)
- 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)
- Fixed: Reset anchor ids (#13
No API changes.
- Changed: this plugin does not require
markdown-it
anymore (#2)
- 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).
- Changed:
markdown-it@^5.0.0
.
- Fixed: publish dist/ files.
✨ Initial release