Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API Reference

deixis-plain-container

Body wrappers: identity, native rect alias, or a left-bar alert. Container arguments are forwarded separately from shared styles.

No Setup

Returns: content.

Task guide

Example

deixis-alert-container(stroke: teal + 0.5pt)[Body]

container-func accepts "plain", "rect", "alert", "stripe" and "tinted", or a custom function. The first three select these exports; "stripe" and "tinted" are named accent presets. Explicit body stroke/fill/radius override preset styles; container-args supplies options such as inset. deixis-rect-container has native rect parameters. Alert doubles scalar border thickness on the left; native edge maps remain literal. Built-in containers emit plain text in HTML.

deixis-plain-container

deixis-plain-container(body, ..args)

Returns the supplied body content without a wrapper.

  • body (content): The rendered note content.
  • ..args (arguments): Ignored formatting arguments.

Parameters

NameDefaultTypes
bodyrequired
..argsvariadic

deixis-rect-container

deixis-rect-container

An alias of the standard Typst #std.rect.

  • body (content): The rendered note content.
  • ..args (arguments): Forwarded to rect.

deixis-alert-container

deixis-alert-container(body, ..args)

A simple alert (admonition) container.

  • body (content): The rendered note content.
  • ..args (arguments): Formatting arguments.

Parameters

NameDefaultTypes
bodyrequired
..argsvariadic