contentlayerdev / contentlayerdev/contentlayer

Investigate table of content use case

Open
#137 3 comments 4 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.