Closed xiaohuoni closed 5 years ago
是需要给 H1 H2 H3 加 锚点(Anchor)吗?
我会在近期迁移过来,从 https://github.com/chiaweilee/vue-markdown-docs/blob/master/src/core/utils.js#L18 https://github.com/chiaweilee/vue-markdown-docs/blob/master/src/core/utils.js#L47
棒,因为我正好在构建官网,所以期望能尽快处理,感谢。
比如
#Api
希望解析为<h1 id='Api'>Api</h1>