Skip to main content

mask_code

Function mask_code 

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

Returns text with fenced code blocks and inline code spans replaced by MASK_CHAR, newlines preserved.