Display style ($$…$$, \[…\]) rather than inline style ($…$, \(…\)).
The original matched markdown source, delimiters included.
The TeX source between the delimiters, trimmed.
OptionaltokensmathBlock for a block on its own lines, math for a span inside a paragraph.
The custom token emitted for a TeX math span or block.
The framework-agnostic hand-off: the HTML path renders it as a
code.mj-mathplaceholder holding the TeX source (typeset later in the browser, seeMarkdownService.RenderMathin ng-markdown), and a native renderer can read text directly or show it as-is.