Chapter Numbering

Add chapter numbering to the Table of Contents (TOC) and the document body.


Resource location:@import url("");
Figure 1. Chapter numbering in the TOC
chapter numbering
Figure 2. Chapter numbering in the document body
chapter numbering in body

Common Customizations

You can apply customizations by pasting the following code snippets under the @import rules.

Remove the “Chapter” captions
disable chapter caption
disable chapter caption body
/* Remove the "Chapter" captions in the TOC. */
nav ul li:before {
content: counter(toc_level1) ". ";
/* Remove the "Chapter" captions in the document body. */
article > .topictitle1:before {
content: counter(section_level1) ". ";