Skip to main content

touying-set-config

touying-set-config(config, body)(source)

Inject configuration changes into a block of content. Changes take effect only within body. Useful for implementing features like #show: appendix.

Example: #let appendix(body) = touying-set-config((appendix: true), body) and you can use #show: appendix to set the appendix for the presentation.

Parameters

config : dictionary

The new configurations for the presentation.

body : content

The content of the slide.

Returns: content