# NOT RUN {
cli_text("Hello world!")
cli_text(packageDescription("cli")$Description)
## Arguments are concatenated
cli_text("this", "that")
## Command substitution
greeting <- "Hello"
subject <- "world"
cli_text("{greeting} {subject}!")
## Inline theming
cli_text("The {.fn cli_text} function in the {.pkg cli} package")
## Use within container elements
ul <- cli_ul()
cli_li()
cli_text("{.emph First} item")
cli_li()
cli_text("{.emph Second} item")
cli_end(ul)
# }
Run the code above in your browser using DataCamp Workspace