View source: R/roxygen-examples-add-remove.R
add_roxygen_mask | R Documentation |
This function compares text
with initial_text
to make sure a mask is only
added to roxygen comments, not ordinary comments
add_roxygen_mask(text, initial_text, example_type)
text |
Character vector with code. |
initial_text |
The roxygen code example to style with mask and potentially ordinary comments. |
example_type |
Either 'examples' or 'examplesIf'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.