RStudio add-in to insert selected lines into code block:
rmd_r_code_block() - R code block;
rmd_code_block() - verbatim code block.
rs_enclose_all_with_lines - function that adds lines above and below the selection.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.