Break up the text into its component parts and search through them for math delimiters, braces, linebreaks, etc. Math delimiters must match and braces must balance. Don't allow math to pass through a double linebreak (which will be a paragraph).
Put back the math strings that were saved, and clear the math array (no need to keep it around).
A mime renderer factory for raw html.
A mime renderer factory for images.
A placeholder factory for deprecated rendered JavaScript.
A mime renderer factory for LaTeX.
A mime renderer factory for Markdown.
A mime renderer factory for svg.
A mime renderer factory for plain and jupyter console text data.
Generated using TypeDoc
The standard factories provided by the rendermime package.