ASCIIMathML is a clever JavaScript written by Peter Jipsen that transforms mathematical formulae written in plain text to standard mathematical notation on an HTML page. See Appendix I in the AsciiDoc User Guide for more details.

The AsciiDoc xhtml11 backend supports ASCIIMathML — it links the ASCIIMathML script and escapes ASCIIMathML delimiters and special characters to yield valid XHTML. To use ASCIIMathML:

  1. Include the -a asciimath command-line option when you run asciidoc(1).

  2. Enclose ASCIIMathML formulas inside double-dollar passthroughs.

Here's the AsciiDoc source that generated this page.

NOTE

A list of formulas with a mixture of formatting: