Skip to main content

try_parse_math_environment

Function try_parse_math_environment 

Source
pub fn try_parse_math_environment(
    text: &str,
) -> Option<(usize, &str, &str, &str)>
Expand description

Try to parse a LaTeX math environment (\begin{equation}…\end{equation}) as display math. Returns (total_len, begin_marker, content, end_marker).