ppoffice / hexo-component-inferno

A collection of Inferno.js layout components and utility scripts for Hexo
https://ppoffice.github.io/hexo-component-inferno/
24 stars 30 forks source link

Table of content don't recognize four-level subtitles #13

Closed Ray-Eldath closed 4 years ago

Ray-Eldath commented 4 years ago

This is the expected toc: image

but rendered into: image

obviously the adjacent three-level subtitle is not rendered. seems the toc.jsx not process the four-level subtitles. it should either be rendered just as other subtitles, or completely ignored.

ppoffice commented 4 years ago

@Ray-Eldath ToC here only supports three levels of titles. Too many nested titles will make the lower-level titles unreadable. The issues shown in your screenshot is caused by skipping levels. Please do not skip levels.

Ray-Eldath commented 4 years ago

Sorry for the late response. I corrected my article, and it works fine now.