All notable changes will be documented in this file. Rehype TOC adheres to Semantic Versioning.
v3.0.0 (2020-02-17)
-
Moved Rehype TOC to the @JSDevTools scope on NPM
-
The "rehype-toc" NPM package is now just a wrapper around the scoped "@jsdevtools/rehype-toc" package
v2.2.0 (2019-07-31)
- Added a new
customizeTOCItem
option that allows you to customize each item in the table-of-contents before it's added to the page
v2.1.0 (2019-07-11)
- Added a new
position
option that allows control over where the table-of-contents is inserted into the document
v2.0.0 (2019-07-10)
- The table of contents is now wrapped in a
<nav>
element by default. You can set thenav
option tofalse
to disable this feature, which will behave exactly like the previous version.
v1.0.0 (2019-06-23)
Initial release 🎉