View source: R/rs_get_selection.R
rs_get_selection_range | R Documentation |
Get the range of the first/each selection.
rs_get_selection_range(
selection = c("all", "first", "last"),
as_list = FALSE,
context = rs_get_context()
)
selection |
(string) |
as_list |
(locical) |
context |
(class |
Either a "document_range" object, if selection
is "first" or
"last", and as_list = TRUE
, or a list of those objects otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.