Skip to main content

escape_rd

Function escape_rd 

Source
fn escape_rd(text: &str) -> String
Expand description

Escape text for inclusion in Rd markup.

In Rd format, % starts a comment, { and } delimit arguments, and \ introduces commands. All four must be escaped when they appear in plain text.