escape

Function escape 

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

Escapes all tokens of VMML (backslashes, brackets, parens)

§Arguments

  • text - The text to escape.

§Examples

let text = vmml::escape(r#"[Hello](World)"#);