config-common
config-common(breakable, clip, detect-overflow, handout, handout-subslides, slide-level, slide-fn, new-section-slide-fn, new-subsection-slide-fn, new-subsubsection-slide-fn, new-subsubsubsection-slide-fn, receive-body-for-new-section-slide-fn, receive-body-for-new-subsection-slide-fn, receive-body-for-new-subsubsection-slide-fn, receive-body-for-new-subsubsubsection-slide-fn, show-strong-with-alert, datetime-format, appendix, freeze-slide-counter, zero-margin-header, zero-margin-footer, auto-offset-for-heading, enable-pdfpc, enable-mark-warning, reset-page-counter-to-slide-counter, enable-frozen-states-and-counters, frozen-states, default-frozen-states, frozen-counters, default-frozen-counters, label-only-on-last-subslide, preamble, default-preamble, slide-preamble, default-slide-preamble, subslide-preamble, default-subslide-preamble, page-preamble, default-page-preamble, show-only-notes, show-notes-on-second-screen, horizontal-line-to-pagebreak, reset-footnote-number-per-slide, nontight-list-enum-and-terms, align-list-marker-with-baseline, align-enum-marker-with-baseline, scale-list-items, show-hide-set-list-marker-none, show-bibliography-as-footnote, default-composer, ..args)(source)The common configurations of the slides.
breakable : bool
Whether to allow slide content to overflow to the next page. When true (default), content that exceeds the slide height will automatically create new pages. When false, content is constrained to a single page using a non-breakable block, which is useful for ensuring a strict one-to-one mapping between source slides and output pages in agentic workflows. Default is true.
clip : bool
Whether to clip overflowing slide content when breakable is false. When true, content that exceeds the slide height will be visually truncated. When false, overflowing content remains visible but does not create new pages. Only takes effect when breakable is false. Default is false.
detect-overflow : bool
Whether to detect and warn on slide content overflow when breakable is false. When true, a layout measurement is performed and a warning is emitted if the content height exceeds the available slide height, which is useful for catching overflow early in agentic workflows without aborting compilation. When false, no overflow detection is performed. Only takes effect when breakable is false. Default is true.
handout : bool
Whether to enable the handout mode. By default, it retains only the last subslide of each slide, but this can be overridden via handout-subslides. Default is false.
handout-subslides : none | int | array | str
The subslides to include in handout mode. Accepts the same format as visible-subslides (e.g. 2, (1, 3), "2-", "1, 3-5"). When none, the last subslide is used (default behavior). Default is none.
slide-level : int
The level of the slides. Default is 2, which means the level 1 and 2 headings will be treated as slides.
slide-fn : function
The function to create a new slide.
new-section-slide-fn : function
The function to create a new slide for a new section. Default is none.
new-subsection-slide-fn : function
The function to create a new slide for a new subsection. Default is none.
new-subsubsection-slide-fn : function
The function to create a new slide for a new subsubsection. Default is none.
new-subsubsubsection-slide-fn : function
The function to create a new slide for a new subsubsubsection. Default is none.
receive-body-for-new-section-slide-fn : bool
Whether to receive the body for the new section slide function. Default is true.
receive-body-for-new-subsection-slide-fn : bool
Whether to receive the body for the new subsection slide function. Default is true.
receive-body-for-new-subsubsection-slide-fn : bool
Whether to receive the body for the new subsubsection slide function. Default is true.
receive-body-for-new-subsubsubsection-slide-fn : bool
Whether to receive the body for the new subsubsubsection slide function. Default is true.
show-strong-with-alert : bool
Whether to show strong with alert. Default is true.
datetime-format : auto | str
The format of the datetime. Default is auto.
appendix : bool
Is touying in the appendix mode. The last-slide-counter will be frozen in the appendix mode. Default is false.
freeze-slide-counter : bool
Whether to freeze the slide counter. Default is false.
zero-margin-header : bool
Whether to show the full header (with negative padding). Default is true.