A section that is quoted from another source. It is typically indented.

cli_blockquote(
  quote,
  citation = NULL,
  id = NULL,
  class = NULL,
  .envir = parent.frame()
)

Arguments

quote

Text of the quotation.

citation

Source of the quotation, typically a link or the name of a person.

id

Element id, a string. If NULL, then a new id is generated and returned.

class

Class name, sting. Can be used in themes.

.envir

Environment to evaluate the glue expressions in. It is also used to auto-close the container if .auto_close is TRUE.

Examples

cli_blockquote(cli:::lorem_ipsum(), citation = "Nobody, ever")
#>
#> “Ullamco voluptate ipsum ullamco mollit proident. Ea eiusmod #> fugiat deserunt ipsum reprehenderit laboris anim qui. Est magna #> fugiat enim cillum. Duis occaecat do excepteur in velit nisi. #> Lorem eu reprehenderit cillum eu occaecat laboris dolor qui #> labore incididunt exercitation. Nostrud ipsum esse cupidatat qui #> id eu sunt aliqua dolore incididunt minim officia. Mollit nisi #> elit duis mollit ex est ipsum eiusmod amet voluptate culpa non #> esse. Eiusmod aliquip ea voluptate elit enim elit officia.”
#> — Nobody, ever
#>