Description Usage Arguments Details
roxy_tag
constructs a tag object, and roxy_tag_warning
makes
an informative warning using the location information stored in the tag.
The remainder of the tag functions parse the tag value, convert a string
into a richer R object, or providing informative warnings and returning
valid if the value is invalid.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | roxy_tag(tag, val, file = "", line = 0)
roxy_tag_warning(x, ...)
tag_value(x)
tag_inherit(x)
tag_name(x)
tag_two_part(first, second, required = TRUE)
tag_name_description(x)
tag_words(min = 0, max = Inf)
tag_words_line(x)
tag_toggle(x)
tag_code(x)
tag_examples(x)
tag_markdown(x)
tag_markdown_restricted(x)
|
tag |
Tag name |
val |
Tag value. When read from the file, this will be a string, but after parsing can be a more complicated structure (typically a character vector, but sometimes a list). |
file, line |
Location of the tag |
first, second |
Name of first and second parts of two part tags |
required |
Is the second part required (TRUE) or can it be blank (FALSE)? |
min, max |
Minimum and maximum number of words |
Two exceptions to the rule are tag_words
and tag_two_part
, which are
tag parsing generator functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.