double_escape_md: Check markdown escaping

Description Usage Arguments Details Value Examples

View source: R/markdown-escaping.R

Description

This is a regression test for Markdown escaping.

Usage

1

Arguments

text

Input text.

Details

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

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

Value

Double-escaped text.

Examples

1
2
3
"%" # percent
"\"" # double quote
'\'' # single quote

Example output

[1] "%"
[1] "\""
[1] "'"

roxygen2 documentation built on Sept. 8, 2021, 9:08 a.m.