Skip to content
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

Autogenerate table of content on a markdown page #9

Closed
chrisflatley opened this issue Nov 12, 2019 · 1 comment
Closed

Autogenerate table of content on a markdown page #9

chrisflatley opened this issue Nov 12, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@chrisflatley
Copy link
Contributor

Seems like it's built in.

https://www.gatsbyjs.org/packages/gatsby-transformer-remark/#getting-table-of-contents

Perhaps it could be generated queried and then either enabled / disabled by something in the front matter, or perhaps smart based on the number of headings and/or size of the document?

Perhaps it could be put in a right sidebar.... then it's responsively displayed if width allows.

@chrisflatley chrisflatley added the enhancement New feature or request label Nov 12, 2019
@chrisflatley
Copy link
Contributor Author

chrisflatley commented Nov 12, 2019

Duplicate of #1.

@chrisflatley chrisflatley changed the title Autogeneate table of content on a markdown page Autogenerate table of content on a markdown page Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant