跳到主要内容

new-section-slide

new-section-slide(config: (:), level: 1, body)(source)

New section slide for the presentation. You can update it by updating the new-section-slide-fn argument for config-common function.

Example: config-common(new-section-slide-fn: new-section-slide.with(numbered: false))

Parameters

config : dictionary    default: (:)

The configuration of the slide. You can use config-xxx to set the configuration of the slide. For more configurations, you can use utils.merge-dicts to merge them.

level : int    default: 1

The level of the heading.

body : content

The body of the section. It will be passed by touying automatically.