Examples

FractionBlock{a}{b}
QuantitySymbol{F}
QuantitySub{m}{before}
ValueExponent{8}{7}{J K -1}
ValueRange{10}{20}{metre}
3 SymbolMultipliedby 4
A SymbolArrowright B

In these few examples you see two implementation principles: use of camelcase words, and parameters provided in curly braces. These are used throughout. pml provides a set of rules, instantiated as scripts, that transform combinations of these special elements embedded in other plain text to standards-compliant html, which can be displayed by any browser. Wrapping such output can then provide web pages. With appropriate css files, you can get output like this:

Sample, parsed

ab
F
mbefore
8 × 107 J K-1
10–20 metre
3 × 4
A → B