pub fn escape_bulleted_list(text: &str) -> Cow<'_, str>Expand description
Escapes only bullets at the start of a line in text (EscapeOptions::bulleted_list).
discord.js counterpart: escapeBulletedList.
ยงExamples
assert_eq!(djs_formatters::escape_bulleted_list("- item"), r"\- item");