pub fn replace_inline_math(line: &str) -> String
Replace inline math ($…$ and $$…$$) with placeholder characters.