anatoo / metalsmith-autotoc Goto Github PK
View Code? Open in Web Editor NEW[UNMAINTAINED] A metalsmith plugin for generating table of contents.
[UNMAINTAINED] A metalsmith plugin for generating table of contents.
The example in the README is for .eco templates, but I can't see how exactly it'd work with Handlebars or AN Other templating language - can you update the docs with a little example?
It appears that this plugin seems to be linked to eco rendering engine.
Could it be possible to use another templating engine such as handlebars?
This could be the opportunity to switch from metalsmith-template to metalsmith-layout.
I'm having an issue on my site where duplicate IDs are created when there are two headings with the same inner text.
<h2 id="first">First</h2>
<h3 id="overview">Overview</h3>
<h2 id="second">Second</h2>
<h3 id="overview">Overview</h3>
Would you consider adding something to make these unique? Perhaps like appending an index number.
<h2 id="first">First</h2>
<h3 id="overview">Overview</h3>
<h2 id="second">Second</h2>
<h3 id="overview2">Overview</h3>
Thanks!
Seems the "Contextify" dependency has issues with recent Node versions, as noted here:
I'm not sure how to fix this, only discovering it when I tried to install this plugin today. Might there be a workaround for this module so that it could be installed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.