dumi
dumi copied to clipboard
feat: 使用自定义锚点
What problem does this feature solve?
希望能够支持自定义锚点功能,如 vitepress 这样子的效果。
https://vitepress.dev/zh/guide/markdown#custom-anchors
antd 的语义化功能的二级分类,有时候跳过过来,如果能锚点定位到具体的 demo 会方便很多,但是目前默认点过来会变成 tag#tagcheckabletaggroup-1,如果遇到中文demo的话,就是更奇怪的名字了,在文档的维护上会比较麻烦。
Possible Solution (optional)
No response
我计划先在 antd 仓库自定义插件实现,dumi 这边需要开一个口子:https://github.com/umijs/dumi/pull/2268
我计划先在 antd 仓库自定义插件实现
https://github.com/ant-design/ant-design/pull/53316