cli_h1 {cli} | R Documentation |
cli has three levels of headings.
cli_h1(text, id = NULL, class = NULL, .envir = parent.frame())
cli_h2(text, id = NULL, class = NULL, .envir = parent.frame())
cli_h3(text, id = NULL, class = NULL, .envir = parent.frame())
text |
Text of the heading. It can contain inline markup. |
id |
Id of the heading element, string. It can be used in themes. |
class |
Class of the heading element, string. It can be used in themes. |
.envir |
Environment to evaluate the glue expressions in. |
This is how the headings look with the default builtin theme.
cli_h1("Header {.emph 1}") cli_h2("Header {.emph 2}") cli_h3("Header {.emph 3}")