tlienart / Franklin.jl

(yet another) static site generator. Simple, customisable, fast, maths with KaTeX, code evaluation, optional pre-rendering, in Julia.
https://franklinjl.org
MIT License
931 stars 108 forks source link

Table of contents: level 4 headings do not consistently stay indented under the previous level 3 heading #1079

Open fusion809 opened 2 months ago

fusion809 commented 2 months ago

I am currently getting this table of contents: image. Each of the headings after "Higher education qualifications" are level 4, yet only the first of them is shown indented under "Higher education qualifications" (a level 3 heading). I was hoping that the level 4 headings would be shown indented under and relative to the preceeding level 3 heading. Is this a bug or an intended behaviour? I am using Julia 1.10.1 and Franklin 0.10.95.

fusion809 commented 2 months ago

Oops, there were some level 1 headings that weren't shown as I didn't have the @def mintoclevel=1 setting added to my Markdown file. With it, even more errors are evident: image "Higher education qualifications" is a level 3 heading as previously mentioned so it should be listed under 'Tertiary education", the previous level 2 heading. And every qualification after "Higher education qualifications" should be listed under it as they're all level 4 headings.