cherry-markdown
cherry-markdown copied to clipboard
添加目录在预览时的右侧[Feature Request]
Prerequisites
- [ ] There isn't an existing issue that requests the same feature, to avoid duplicates.
Clear and concise description of the problem
可不可以在预览的时候添加目录
像这样
Suggested solution
No response
Further Information
No response
Contributing
None
这个功能我们之前内部讨论认为比较属于业务需求,需要业务方利用cherry.getToc()
等api来实现。。但刚仔细想想,似乎组件内实现也行,我们后面排期实现一下
已实现并提交到dev分支,欢迎体验。
新增了悬浮目录的配置能力(默认不开启悬浮目录),具体配置如下:
https://tencent.github.io/cherry-markdown/examples/index.html
已发版,可以在这里体验