powered by
RStudio add-in to insert selected lines into code block:
rmd_r_code_block() - R code block;
rmd_r_code_block()
rmd_code_block() - verbatim code block.
rmd_code_block()
rs_enclose_all_with_lines - function that adds lines above and below the selection.
rs_enclose_all_with_lines
rmd_code_block_r()rmd_code_block()