A definition list is a container, see containers.
cli_dl( items = NULL, id = NULL, class = NULL, .close = TRUE, .auto_close = TRUE, .envir = parent.frame() )
Named character vector, or
NULL. If not
NULL, they are used as list items.
Id of the list container. Can be used for closing it with
cli_end()or in themes. If
NULL, then an id is generated and returned invisibly.
Class of the list container. Can be used in themes.
Whether to close the list container if the
itemswere specified. If
FALSEthen new items can be added to the list.
Whether to close the container, when the calling function finishes (or
.enviris removed, if specified).
Environment to evaluate the glue expressions in. It is also used to auto-close the container if