Skip to content

Releases: chrisweb/remark-table-of-contents

v2.1.0

11 Nov 20:20
Compare
Choose a tag to compare
  • unlocked dependency versions in package.json
  • changed build script to not minify and bundle code
  • new build

v2.0.2

28 Oct 03:37
Compare
Choose a tag to compare
  • update dependencies and adjust types using the types from the updated packages

v2.0.1

15 Jul 17:31
Compare
Choose a tag to compare
  • readme update to improve the usage examples

v2.0.0

13 Jul 16:42
Compare
Choose a tag to compare
  • new faster toc engine (with no dependency anymore) to build the table of contents, the find headlines part now works even if the headlines are inside jsx (html) elements
  • new search and replace for the placeholder, now works even if placed inside of jsx (html) elements
  • added some new options, like min depth and max depth, so that you can customize the toc to your needs
  • added more examples to showcase the new features

v1.0.0

24 Jun 23:09
Compare
Choose a tag to compare
  • project seems stable, did lots of testing, this is why I bump the version to 1.0.0
  • added option to customize the toc placeholder
  • added a nav bar element around the toc and an option to disable it
  • added an option to add attributes to the container html element
  • added an option to add attributes to the nav element

v0.2.0

23 Jun 22:47
Compare
Choose a tag to compare
  • the container around the toc can now be customized, meaning you can change the element from being an to any html element you want it to be
  • the container element is now optional, meaning you can set the option to false to not have any container at all

v0.1.0

23 Jun 18:38
Compare
Choose a tag to compare
  • added support for all options from mdast-util-toc

v0.0.1

21 Jun 23:42
Compare
Choose a tag to compare
  • initial release