GitHub Pages can't run custom Jekyll plug-ins so when generating Tables of Contents (TOCs), you're stuck with either a JavaScript solution or using kramdown's {:toc} option. However, by using {:toc}, you are forced to have that code next to your actual markdown and you can't place it in a layout. This means every. single. post. will need to have the snippet. If you choose the JavaScript approach, that's perfectly fine but what if JS is disabled on someone's browser or your page is just really long and it becomes inefficient.
Features
- Apache's Beam and PDFBox websites
- Duality's developer docs
- GitHub's Open Source Guides website
- This snippet may be redistributed under either the BSD-3 or MIT licenses
- Make your own edits
- No need to worry about learning Ruby to edit a plug-in or getting your edits approved
- Always GitHub Pages compatible
- Bring your own CSS
Categories
Web DesignLicense
MIT LicenseFollow Jekyll Pure Liquid Table of Contents
Other Useful Business Software
$300 in Free Credit Across 150+ Cloud Services
Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale with Google Cloud.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Jekyll Pure Liquid Table of Contents!