3 ms·
I am theoretically a big fan of the (not yet existing) Markua math format from leanpub: https://leanpub.com/markua/read#math https://leanpub.com/markua/read#mat
by jostylr 10y ago
I am theoretically a big fan of the (not yet existing) Markua math format from leanpub: https://leanpub.com/markua/read#math https://leanpub.com/markua/read#math
The inline math syntax is `x^2 + 4x +4`$ so the dollar sign is outside the backticks, but the formula is encapsulated in the code.
For a display block, they use the code fences with either latex or $ as a math toggle:
```latex
\psi = \frac{5 \phi}{\omega}
```
or
```$
\psi = \frac{5 \phi}{\omega}
```
At some point soon, I intend to implement this for my own use. It should be pretty easy using a markdown parser assuming one can do a lookahead/gobbler to the next character after the inline backticks.