Repeat
Documentation for the `repeat` function.
Repeats content to the available space.
This can be useful when implementing a custom index, reference, or outline.
Space may be inserted between the instances of the body parameter, so be sure to adjust the justify parameter accordingly.
Errors if there are no bounds on the available space, as it would create infinite content.
Example
Loading compiler...
Accessibility
Repeated content is automatically marked as an artifact and hidden from Assistive Technology (AT). Do not use this function to create content that contributes to the meaning of your document.
#repeat(
body,
gap: length,
justify: bool
) -> contentParameters
Prop
Type