md_escape | R Documentation |
Take a character vector containing punctuation and return a glue vector with every punctuation mark prepended with double escape backslashes.
md_escape(x)
x |
A character vector of strings containing punctuation that might accidentally be considered markdown syntax. |
When trying to format text containing markdown syntax characters, it's necessary to "escape" those characters so that they are ignored by formatting.
Any ASCII punctuation character may be backslash-escaped... Escaped characters are treated as regular characters and do not have their usual Markdown meanings.
A character string with all [:punct:]
properly escaped with
prepended backslashes.
Other inline functions:
md_autolink()
,
md_bold()
,
md_code()
,
md_convert()
,
md_disallow()
,
md_hardline()
,
md_image()
,
md_issue()
,
md_italic()
,
md_link()
,
md_softline()
,
md_strike()
,
md_text()
md_escape("# six seasons and a movie")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.