contentlayerdev / contentlayerdev/contentlayer
Investigate table of content use case
Open
has-workaround
meta: never-stale
needs-research
topic: markdown/mdx
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 192
- PR merge metrics
- No merged PRs in 30d
Description
My first approach would be to try to use computed fields for this.
## Related
- https://github.com/syntax-tree/mdast-util-toc
- https://github.com/remarkjs/remark-toc
- https://github.dev/shuding/nextra/blob/f8d25f29d321550b6586f9d6ed0546e8654dd1f8/packages/nextra/src/types.ts#L25
Contributor guide
Assessment
This issue has not been assessed yet.