roxygen2 (version 7.0.2)

double_escape_md: Check markdown escaping

Description

This is a regression test for Markdown escaping.

Usage

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

Run this code
# NOT RUN {
"%" # percent
"\"" # double quote
'\'' # single quote
# }

Run the code above in your browser using DataLab