tests/testthat/_snaps/verbatim.md

verbatim text is correctly styled

Code
  local({
    theme <- list(.padded = list(`margin-left` = 4))
    cli_div(class = "padded", theme = theme)
    lines <- c("first", "second", "third")
    cli_verbatim(lines)
    cli_verbatim(paste0(lines, collapse = "\n"))
  })
Message
      first
      second
      third
      first
      second
      third


r-pkgs/boxes documentation built on April 27, 2024, 11:08 a.m.