cli_h1: CLI headers

Description Usage Arguments Examples

View source: R/client.R

Description

CLI headers

Usage

1
2
3
4
5
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())

Arguments

text

Text of the header. It can contain inline markup.

id

Id of the header element, string. It can be used in themes.

class

Class of the header element, string. It can be used in themes.

.envir

Environment to evaluate the glue expressions in.

Examples

1
2
3
cli_h1("Main title")
cli_h2("Subtitle")
cli_text("And some regular text....")

cliapp documentation built on Oct. 23, 2020, 6:36 p.m.