Skip to content

comark/math/authored-html

Write math between $ signs, not as a formula's html

A formula's html is the markup comark-mathml typesets from TeX, so the renderers print it as it is. A :formula written by hand with its own html is ignored, and it shows its tex, if it has one. Write the TeX between $ signs instead.

Incorrect

The pond holds ducks.

The pond holds :formula{html="<math><mi>n</mi></math>"} ducks.
md

Correct

The pond holds nn ducks.

The pond holds $n$ ducks.
md