ποΈ add-page-margin-dicts
Add page margin dictionary to another page margin dictionary.
ποΈ add-dicts
Add a dictionary to another dictionary recursively.
ποΈ merge-dicts
Merge some dictionaries recursively.
ποΈ touying-progress
Get the progress of the current slide.
ποΈ trim
Remove leading and trailing empty elements from an array of content.
ποΈ label-it
Add a label to a content.
ποΈ reconstruct
Reconstruct a content with a new body.
ποΈ reconstruct-table-like
Reconstruct a table-like content with new children.
ποΈ is-sequence
Determine if a content is a sequence (i.e.
ποΈ is-styled
Determine if a content is styled (i.e.
ποΈ is-space
Determine if a content is a space (i.e.
ποΈ reconstruct-styled
Reconstruct a styled content with a new body.
ποΈ is-metadata
Determine if a content is a metadata(...) element.
ποΈ is-kind
Determine if a content is a metadata with a specific kind.
ποΈ is-heading
Determine if a content is a heading up to specific depth.
ποΈ call-or-display
Call a self => {..} function and return the result, or wrap plain content in [].
ποΈ method-wrapper
Wrap a function with a self parameter to make it callable as a method.
ποΈ methods
Extract all method functions from self and bind self as their first named argument.
ποΈ capitalize
Capitalize a string.
ποΈ titlecase
Convert a string into title case.
ποΈ short-heading
Convert a heading with label to a short display form.
ποΈ current-heading
Get the current heading on or before the current page.
ποΈ display-current-heading
Display the current heading on the page.
ποΈ display-current-heading-number
Display the current heading number on the page.
ποΈ display-current-short-heading
Display the current short heading on the page.
ποΈ display-info-date
Display the date from self.info.date formatted with self.datetime-format.
ποΈ markup-text
Convert content to markup text, partly from typst-examples-book.
ποΈ fit-to-height
Fit content to specified height.
ποΈ fit-to-width
Fit content to specified width.
ποΈ is-block
true for all typst content that is not inline.
ποΈ cover-with-rect
Cover content with a rectangle of a specified color.
ποΈ update-alpha
Update the alpha channel of a color.
ποΈ semi-transparent-cover
Cover content with a semi-transparent rectangle matching the page background color.