Expand description
Math placeholder extraction and injection.
Before running pulldown-cmark, math expressions are replaced with stable
placeholder tokens. After rendering, the placeholders are replaced with
<span>/<div> elements for the frontend KaTeX renderer.
Structs§
- Math
Placeholder - A math expression extracted from a Markdown source.
Functions§
- extract_
math - Pre-processes Markdown source, extracting math expressions.
- inject_
math - Re-injects math placeholders as
<span>/<div>elements.