Inline table of contents
HelpNDoc's default HTML template supports inline table of contents for topics. This table of contents displays a list of headings named "In this topic". To activate this feature, enable the "Show inline table of contents" custom setting. It is possible to customize its width in the "Inline table of content's width" build settings.
To setup a topic's title of contents, the default template will look at HTML headings in the current topic (e.g. H1, H2...). To define them, you can either:
- Use styles which have an outline level defined, such as "Heading 1", "Heading 2"... an apply them to titles which should appear in the inline table of contents;
- Or set the "Outline level" paragraph property to those titles by right-clicking on them, then click "Paragraph...", go to the "Advanced" tab, and set an "Outline level" other than "Body text".