strip_md_footnotes | R Documentation |
Removes all Markdown footnotes from a character vector.
strip_md_footnotes(x)
x |
A character vector to strip Markdown footnotes from. Note that elements in |
Note that it is not checked whether footnote references and definitions actually match (by identifier), thus they are removed even if they were invalid.
A character vector of the same length as x
.
Other (Pandoc) Markdown functions:
as_md_list()
,
as_md_val_list()
,
as_md_vals()
,
md_verb()
,
pipe_table()
,
strip_md()
pal::strip_md_footnotes(
"An **MD** formatted string with footnote[^fn].\n\n[^fn]: A note.\n"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.