View source: R/wordwrap_source.R
wordwrap_source | R Documentation |
This function wordwraps a source.
wordwrap_source(
input,
output = NULL,
length = 60,
removeNewlines = FALSE,
removeTrailingNewlines = TRUE,
rlWarn = rock::opts$get(rlWarn),
preventOverwriting = rock::opts$get("preventOverwriting"),
encoding = rock::opts$get(encoding),
silent = rock::opts$get(silent),
utteranceMarker = rock::opts$get("utteranceMarker")
)
input |
For |
output |
For |
length |
At how many characters to word wrap. |
removeNewlines |
Whether to remove all newline characters from the source before starting to clean them. Be careful: if the source contains YAML fragments, these will also be affected by this, and will probably become invalid! |
removeTrailingNewlines |
Whether to remove trailing newline characters (i.e. at the end of a character value in a character vector); |
rlWarn |
Whether to let |
preventOverwriting |
Whether to prevent overwriting of output files. |
encoding |
The encoding of the source(s). |
silent |
Whether to suppress the warning about not editing the cleaned source. |
utteranceMarker |
The character(s) between utterances (i.e. marking where one utterance ends and the next one starts). By default, this is a line break, and only change this if you know what you are doing. |
A character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.