This is a regression test for Markdown escaping.

double_escape_md(text)

Arguments

text

Input text.

Value

Double-escaped text.

Details

Each of the following bullets should look the same when rendered:

  • Double escapes: \, \%, \$, \_

  • Backticks: \, \%, \$, \_

  • \verb{}: \, \%, \$, \_

[ this isn't a link ] \[ neither is this \]

Examples

"%" # percent
#> [1] "%"
"\"" # double quote
#> [1] "\""
'\'' # single quote
#> [1] "'"