Confluence 5.4 has reached end of life
Check out the [latest version] of the documentation
This page is a snippet
For full information, see:
Snippet
Macro name: toc
Macro body: None.
Parameter name | Required | Default | Parameter description and accepted values |
---|---|---|---|
printable | No | true | If you set this parameter to false , the table of contents will not be visible when you print the page. |
style | No | none | The style of bullet point for each list item. You can use any valid CSS style. For example:
|
maxLevel | No | 7 | Maximum heading level. Use this parameter to select the highest heading level to include. For example, a value of 2 will list h1 and h2 levels, but will not include h3 and below. |
indent | No | (None) | This parameter applies to vertical lists only ( Use this parameter to indent the list items according to CSS quantities. For example, a value of |
minLevel | No | 1 | Minimum heading level. The heading level at which the table of contents will start. For example, a value of 2 will list h2, h3, and h4 headings, but will not include h1 headings. |
class | No | (None) | A CSS class name. If you have a custom style sheet, you can use this parameter to output the table of contents with the specified class attribute. |
exclude | No | (None) | Specifies the headings to exclude by pattern matching. The value must be a regular expression. If this parameter is specified, the table of contents will include only the headings that match the regular expression. Example: |
type | No | list | Defines the overall format of the table of contents. Available values:
|
outline | No | false | A value of true will apply outline numbering to the headings as displayed in the table of contents. For example: 1.1, 1.2, 1.3. |
separator | No | brackets | This parameter applies to flat lists only ( Available values:
|
include | No | (None) | Specifies the headings to include by pattern matching. The value must be a regular expression. If this parameter is specified, the table of contents will ignore any headings that do not match the regular expression. Example: See Sun's Regex documentation for examples of constructing regular expression strings. |