Releases: allejo/jekyll-toc
Releases · allejo/jekyll-toc
Version 1.2.1
Version 1.2.0
Breaking
- Dropped support for versions of Jekyll below 3.5.0; if you're using an older version of Jekyll, continue to use the 1.1.x series of this project
Fixes
- Correctly generate an empty string if there was no TOC generated. This allows for quicker checking than having to trim the TOC by yourself every time (#60)
Version 1.1.0
A complete rewrite of the ToC generation logic to no longer use markdown.
New
- Table of Contents are now generated with HTML manually instead of using kramdown specific markup; meaning we now support more markdown engines such as GFM.
Deprecations
- The
baseurlparameter has been deprecated; use the renamedbase_urlparameter instead - The
skipNoIDsparameter has been deprecated; use the renamedskip_no_idsparameter instead
Development
- The unit testing script uses Python 3 now
Version 1.0.14
Version 1.0.13
Fixes
- Fix
skipNoIDslogic when more IDs in other HTML elements (#42)
Version 1.0.12
Version 1.0.11
New
- Add new
skipNoIDsparameter that will allow you to skip headers with no IDs- Warning: This snippet still expects a valid document header structure to render a correct TOC
- See _tests/skipHeadingsWithNoIDs.md for example usage
Fixes
- Don't render an empty anchor link to
#if a heading does not have an ID; now it will render plain text instead- See _tests/noAnchorOnHeadingsWithNoIDs.md for example usage
Version 1.0.10
Fixes
- Hotfix for one of the logic improvements introduced in 1.0.9
Version 1.0.9
An incredibly minor maintenance release that won't affect the majority of users. You only need to update to this version if you are a redcarpet user.
If you're using kramdown, this release does not do anything different for you.
Fixes
Version 1.0.8
Fixes
|in headers no longer causes TOC to render incorrectly (#24)