cover-with-rect
cover-with-rect(self: none, ..cover-args, fill: auto, inline: auto, is-first: false, body)(source)Cover content with a rectangle of a specified color. If you set the fill to the background color of the page, you can use this to create a semi-transparent overlay.
Example: #utils.cover-with-rect(fill: "red")[Hidden]
Parameters
..cover-args : args
The arguments to pass to the rectangle.
fill : color default: auto
The color to fill the rectangle with.
inline : bool default: auto
Indicates whether the content should be displayed inline. Default is auto. It is determined based on content type, not inline for block content and inline for inline content.
body : content
The content to cover.
Returns: content