TypstDocumentation

hideElement
Question mark

Hides content without affecting layout.

The hide function allows you to hide content while the layout still 'sees' it. This is useful to create whitespace that is exactly as large as some content. It may also be useful to redact content because its arguments are not included in the output.

Example

Hello Jane \
#hide[Hello] Joe
Preview

Parameters
Question mark

hide() -> content

body
content
RequiredPositional
Question mark

The content to hide.