rd_str_to_md | R Documentation |
Note that this will always end in one newline \n.
rd_str_to_md(x, fragment = TRUE, ...)
x |
Rd string. Backslashes must be double-escaped ("\\"). |
fragment |
logical indicating whether this represents a complete Rd file |
... |
additional arguments for as_markdown |
rd_str_to_md("a\n%b\nc")
rd_str_to_md("a & b")
rd_str_to_md("\\strong{\\emph{x}}")
rd_str_to_md("\\enumerate{\\item test 1\n\n\\item test 2}")
rd_str_to_md("wrapped \\itemize{\\item test 1\n\\item test 2} in text")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.