Skip to main content

tidy_mrkdwn

Function tidy_mrkdwn 

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

Strip Slack’s mrkdwn down to plain text: emphasis markers drop, a labelled link becomes label: url, and the &/</> entities decode.