pub fn remove_math_blocks_from_text( text: &str, single_dollar_enabled: bool, ) -> String
Remove $$...$$ block math (and optionally $...$ inline math) spans.
$$...$$
$...$