trailing-column-fill

The characters that should fill the space between the table of contents item and the page number, also known as “leader characters”. Can only be used if page-number-position is set to trailing-column.

Availability

Available in: Table of Contents

Type

Symbol

Available values

Value Description
space No fill characters between item and page number.
dots Dot characters, interleaved with spaces, between item and page number. Default.
dense-dots Dot characters between item and page number. Only applicable for PDF export.
underline An underline between item and page number.

Default value

dots

Inherited

No.

Example

table-of-contents {
  // Show page nubmbers at trailing border, display a line between item and page number.
  page-number-position: trailing-column
  trailing-column-fill: underline
}