str_rmd_wrap | R Documentation |
Wrap text but don't insert lines breaks into inline R code
str_rmd_wrap(string, width = getOption("WrapRmd.width", 80))
string |
a string to wrap |
width |
desired line width. Defaults to |
This function finds all inline R code spans in a string, replaces
all non-word characters in the R spans with "Q"
s, re-wraps the
string, and restores the original inline R spans.
This function preserves blanks lines between paragraphs.
a wrapped copy of the string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.