contentlayerdev / contentlayerdev/contentlayer

Investigate table of content use case

未关闭
#137 3 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
has-workaround meta: never-stale needs-research topic: markdown/mdx
主要语言
TypeScript
星标
3.5k
派生
192
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。