Skip to content

Releases: allejo/jekyll-toc

Version 1.2.1

17 Nov 07:47
92a977b
Compare
Choose a tag to compare

New

  • Add support for a new flat_toc parameter that allows the table of contents to be rendered at a single level (#70)

Fixes

  • Fix quotes causing breakage in unit tests (#65)

Version 1.2.0

21 Sep 00:30
9c512fc
Compare
Choose a tag to compare

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

29 Nov 00:02
7cf23b7
Compare
Choose a tag to compare

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 baseurl parameter has been deprecated; use the renamed base_url parameter instead
  • The skipNoIDs parameter has been deprecated; use the renamed skip_no_ids parameter instead

Development

  • The unit testing script uses Python 3 now

Version 1.0.14

01 Aug 01:08
80782d7
Compare
Choose a tag to compare

New

  • Allow applying classes to nested <ul>s within the TOC (#40, #43)

Version 1.0.13

19 Jul 23:01
c5ad54c
Compare
Choose a tag to compare

Fixes

  • Fix skipNoIDs logic when more IDs in other HTML elements (#42)

Version 1.0.12

20 May 03:34
c5850a7
Compare
Choose a tag to compare

Fixes

  • Address issue with {: .no_toc} being used on the first header and this snippet generating TOC markup incorrectly as a code block (#35, #36)

Version 1.0.11

31 Mar 21:13
d03f24a
Compare
Choose a tag to compare

New

  • Add new skipNoIDs parameter that will allow you to skip headers with no IDs

Fixes

Version 1.0.10

11 Jan 23:29
6b710b7
Compare
Choose a tag to compare

Fixes

  • Hotfix for one of the logic improvements introduced in 1.0.9

Version 1.0.9

11 Jan 05:13
a4fd66f
Compare
Choose a tag to compare

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

  • Fix logic mistakes in our code
    • Remove unnecessary "addition" that was "happening" in our heading count (#26)
    • Don't generate empty {:.} markup in list items when include.item_class was empty (#29)

Version 1.0.8

08 Jul 19:58
Compare
Choose a tag to compare

Fixes

  • | in headers no longer causes TOC to render incorrectly (#24)