Make table of content accessible
Opened this issue · 1 comments
Xxcool commented
查过资料之前版本提供过getProcessor这个方法,现在已经没有这个api了
promise96319 commented
可以参考下源码里的 toc 实现,通过插件在 rehype 阶段可以拿到所有的 h 标签。
Opened this issue · 1 comments
查过资料之前版本提供过getProcessor这个方法,现在已经没有这个api了
可以参考下源码里的 toc 实现,通过插件在 rehype 阶段可以拿到所有的 h 标签。