跳到主要内容

mini-slides

Section navigation component showing all sections and their per-slide progress as small filled/empty circle dots.

Typically placed in a theme's page header. Each section is labeled with a link, and each slide within the section is represented by a small dot (filled for the current slide, hollow for others). The active section uses the full fill color; inactive sections have alpha transparency applied.

Parameters

self : none    default: none

The self context, used to resolve short headings.

fill : color    default: rgb("000000")

The text and dot color. Default is rgb("000000").

alpha : ratio    default: 60%

The transparency applied to inactive sections. Default is 60%.

display-section : bool    default: false

Whether to show per-slide dots for level-1 section headings. Default is false.

display-subsection : bool    default: true

Whether to show per-slide dots for level-2 subsection headings. Default is true.

linebreaks : bool    default: true

Whether to insert a line break after section/subsection labels. Default is true.

short-heading : bool    default: true

Whether to shorten heading labels using utils.short-heading. Default is true.

inline : bool    default: false

Whether to place dots on the same line as the section label instead of below it. Default is false.

Returns: content