hexo-renderer-markdown-it icon indicating copy to clipboard operation
hexo-renderer-markdown-it copied to clipboard

支持自定义重复标题的标题 ID 起步编号的位置

Open cxplay opened this issue 2 years ago • 0 comments

          此外, 对于重复的标题 ID 是应该在第二次出现开始加入编号, 还是从第一个标题 ID 就给予编号也应该能够实现自定义.

某些编辑器(Typora)中如果出现重复标题 ID, 则中从第一个就会开始编号计数, 而不是第二个:

#title-1
#title-2
#title-3

Originally posted by @cxplay in https://github.com/hexojs/hexo-renderer-markdown-it/issues/196#issuecomment-1516258317

cxplay avatar Apr 20 '23 12:04 cxplay