double_escape_md: Check markdown escaping

View source: R/markdown-escaping.R

double_escape_mdR Documentation

Check markdown escaping

Description

This is a regression test for Markdown escaping.

Usage

double_escape_md(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 \]

Value

Double-escaped text.

Examples

"%" # percent
"\"" # double quote
'\'' # single quote

roxygen2 documentation built on June 28, 2024, 9:11 a.m.