bubkoo / hexo-toc

📖 Insert a markdown TOC before posts be rendered.
MIT License
125 stars 17 forks source link

Numbering the TOC headers instead of * #21

Open mien opened 6 years ago

mien commented 6 years ago

currently it TOC is lik

It would be great to have

  1. Header 1
    1. Header 1.1
    2. Header 1.2
  2. Header 2
  3. Header 3
noraj commented 6 years ago

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

mien commented 6 years ago

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

noraj commented 6 years ago

@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.