-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Component for table of contents #13
Comments
After discussion with @jwijay and @alex-ketch I've moved this from I'd like to put this and #11 as highest priority for design and development because they are needed for the documentation that we are generating for |
Closing as we now have this https://github.com/stencila/designa/tree/master/packages/components/src/components/tableOfContents |
It would be useful, particularly for long documents, to have a table of contents generated based on the heading structure of the HTML document. The main requirements for this:
h1
,h2
etc tags aloneA good, pre-existing solution appears to be https://tscanlin.github.io/tocbot/. We should probably use that, at least to start with.
The text was updated successfully, but these errors were encountered: