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
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Jekyll Pure Liquid Table of Contents!