Function escape_commonmark_inline

pub fn escape_commonmark_inline(text: &str) -> String

Escapes the input, rendering it suitable for inclusion in a CommonMark document in a place where regular inline parsing is occurring. Note that this is not minimal --- there will be more escaping backslashes in the output than is strictly necessary. The rendering will not be affected, however.