roxygen2 (version 7.3.1)

double_escape_md: Check markdown escaping

Description

This is a regression test for Markdown escaping.

Usage

double_escape_md(text)

Value

Double-escaped text.

Arguments

text

Input text.

Details

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

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

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

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

Examples

Run this code
"%" # percent
"\"" # double quote
'\'' # single quote

Run the code above in your browser using DataLab