eleventy-plugin-toc
eleventy-plugin-toc copied to clipboard
11ty plugin to generate a TOC from page content
The generated TOC currently drops any inline formatting from the headings, which in some cases is ok, and in others makes them read very weird (as an extreme example, imagine...
Big fan of this plugin. I use it for the table of contents on my Tech blog https://blog.frost.kiwi/ I have hacked in a feature I need with the implementation of...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
## Environment Node version: `19.8.1` OS/version: `macOS 13.4` ## Eleventy Eleventy version: `2.0.1` Template engine: `njk` Sample input file: `what does it mean?` ## Plugin Plugin module version: `1.1.5` Plugin...
So far to add a custom CSS class to the TOC is to use the following workaround: ``` eleventyConfig.addPlugin(toc, { wrapper: undefined, }); eleventyConfig.addFilter("bootstrapToc", (tocHtml) => { if (tocHtml) {...
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...
Thanks for making this plugin! I tried to use it today to replace some in-house code that generated TOCs client-side. The issue I run into was that we are also...
Closes #35
This PR suggests a new option that allows users to customize how the text gets extrapolated from every heading entry. ## Example use case I have a markdown plugin that...
**Is your feature request related to a problem? Please describe.** It's common to find the table of contents after one or two introductory paragraphs. I believe this is yet not...