Skip to main content

parse_math_content

Function parse_math_content 

Source
pub fn parse_math_content(content: &str, opts: MathParseOptions) -> GreenNode
Expand description

Parse math content into a lossless MATH_CONTENT green node. content is the raw text between (but excluding) the math delimiters. Never fails: SyntaxNode::new_root(result).text() == content for every input.