hexo-toc icon indicating copy to clipboard operation
hexo-toc copied to clipboard

Numbering the TOC headers instead of *

Open mien opened this issue 7 years ago • 3 comments

currently it TOC is lik

  • Header 1
    • Header 1.2
  • Header 2
  • Header 3

It would be great to have

  1. Header 1
    1. Header 1.1
    2. Header 1.2
  2. Header 2
  3. Header 3

mien avatar Apr 01 '18 10:04 mien

I don't agree. Why produce an ordered list if not intended.

noraj avatar May 10 '18 16:05 noraj

give and option to do ordered list or not, what say ?

mien avatar May 11 '18 09:05 mien

@mien See my second comment here https://github.com/bubkoo/hexo-toc/issues/23, me may be able to make a switch like markdown-it-table-of-contents.

noraj avatar May 11 '18 11:05 noraj