Math Markdown

2019-06-18minilatex

MathMarkdown is a dialect of Markdown that renders mathematical source text written in TeX/LaTeX. Thus, if one writes

$$
  f(a) = \frac{1}{2\pi i} \oint\frac{f(z)}{z-a}dz
$$

it appears as

$$ f(a) = \frac{1}{2\pi i} \oint\frac{f(z)}{z-a}dz $$

See markdown.minilatex.app for an interactive demo.

Using Math Markdown

Math Markdown on open-source Elm package: jxxcarlson/math-markdown. Once installed, you can say

` MMarkdown.toHtml [ ] "This *is* a test $a^2 + b^2 = c^2$."

to produce the rendered text: This is a test: $a^2 + b^2 = c^2$

For interactive editing, as in the demo app, one uses a somewhat more elaborate setup wherein only changes to the text are parsed and rendered. Code for the demo app is in this package under the ./app directory.

Status and Plans

Math Markdown is a very young project, with its initial commit on June 13, 2019. It is still experimental. After some more testing, I plan to add it to knode.io Please send comments and bug reports jxxcarson at gmail.