View source: R/parseGPmarkdown.R
parseGPmarkdown | R Documentation |
Functions to replace custom expressions with appropriate links or text. Custom tags include "{vid 1}", "{vid 2}" or "{item 1}", "{item 2}" more generally. Both have the same effect, but vid is clearer when reading and enforces video type, while item is more flexible. Symbols for media types: 'video'= ▶, 'pdf' or default= ➚. Special case for media titles with keyword "Cards"= ♧
parseGPmarkdown(
x,
WD = NULL,
mlinks = NULL,
use_cache = TRUE,
force_lookup = FALSE
)
x |
a text string to parse |
WD |
working directory; default=NULL |
mlinks |
a tibble read in from the 'multimedia' tab of the 'teach-it.gsheet'. Default=NULL will trigger import of this data, using the front-matter in the provided WD.
|
use_cache |
logical; do you want to use saved multimedia links if they are found at |
force_lookup |
logical; do you want to force looking up |
formatted replacement text
Other markdown:
expand_md_links()
,
fixAnchorLinks()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.