Skip to contents

Alternative helper for creating text content from existing character vectors.

Usage

text_lines(lines)

Arguments

lines

Character vector of text lines

Value

Single character string with proper line breaks

Examples

if (FALSE) { # \dontrun{
lines <- c("# Title", "", "Content here")
text_content <- text_lines(lines)
add_page("Page", text = text_content)
} # }