Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use a more robust table of contents renderer #7
It turns out that @allejo, who I found on #jekyll in Freenode, has written a pure Liquid table of contents renderer that works based on the final, rendered HTML rather than the Markdown. This means it doesn't have problems with headers that are generated by Liquid logic, and is thus more robust than my table of contents generator.
Given this code already exists, this PR incorporates it (attributing correctly), and makes use of it in our layout.