Normally {{toc}} will produce a list of headings without any indication as to their rank. By providing this argument the generated Table of Contents will include numerical hierarchical descriptors on the left of each heading in the Table of Contents only.
Sorry for not merging this at the time! This feature is now supported via the customizable {{toc}} partial, which in combination with helpers can achieve a similar effect.
Added
--number-toc
as an argument.Normally
{{toc}}
will produce a list of headings without any indication as to their rank. By providing this argument the generated Table of Contents will include numerical hierarchical descriptors on the left of each heading in the Table of Contents only.Example:
TitleA
Produces: TitleA 1 - HeadingA 1.1 - HeadingB 2 - HeadingC 3 - HeadingD TitleB 1 - HeadingE 1.1 - HeadingF