CLI 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())
cli_h2(text, id = NULL, class = NULL, .envir = parent.frame())
cli_h3(text, id = NULL, class = NULL, .envir = parent.frame())
Text of the heading. It can contain inline markup.
Id of the heading element, string. It can be used in themes.
Class of the heading element, string. It can be used in themes.
Environment to evaluate the glue expressions in.
# NOT RUN { cli_h1("Main title") cli_h2("Subtitle") cli_text("And some regular text....") # }
Run the code above in your browser using DataCamp Workspace