pub fn escape_masked_link(text: &str) -> Cow<'_, str>Expand description
Escapes only masked links in text (EscapeOptions::masked_link).
discord.js counterpart: escapeMaskedLink.
ยงExamples
assert_eq!(djs_formatters::escape_masked_link("[a](https://b.c)"), r"\[a](https://b.c)");