test-verbatim | R Documentation |
Manual test cases for various ways of embedding code in sections. All code blocks should have copy and paste button.
Valid R code in \preformatted{}
:
mean(a + 1)
R code in R
block:
mean(a + 1)
R code in r
block:
mean(a + 1)
Yaml
yaml: [a, 1]
Non-R code in \preformatted{}
yaml: [a, b, c]
Other tests:
index
,
test-crayon
,
test-dont
,
test-figures
,
test-links
,
test-lists
,
test-long-lines
,
test-output-styles
,
test-params
,
test-sexpr-title
,
test-tables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.