Description Usage Arguments Details
View source: R/rs_enclose_selection_with.R
Enclose selection of text with certain symbols which usually have special meaning in R Markdown files.
1 2 | rs_enclose_selection_with(symbol = "", symbol_before = symbol,
symbol_after = symbol, context = get_context())
|
symbol |
(character) A sequence of symbols to add on both sides of selection. |
symbol_before |
(character) A sequence of symbols to before the selection
(overrides value of |
symbol_after |
(character) A sequence of symbols to add after the selection
(overrides value of |
context |
Object with context of active R Studio document
(class |
If text is selected, the cursor is placed after the modified selection. If no text is selected, the cursor is placed between the inserted symbols.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.