current support for latex fragments was inline only, i.e. lines containing block elements (e.g. a line starting with `* `, i.e. a headline) will not be parsed as part of the latex fragment but the respective block element. Parsing latex blocks at the block level should fix that. Note that in any case we don't do any processing and just emit the raw latex (leaving the rendering to e.g. js).
534 B
534 B
without latex delimiters the _{i=1}
in \sum_{i=1}^n a_n
is interpreted as subscript.
we support \(...\)
, \[...\]
, $$...$$
and \begin{$env}...\end{$env}
as latex fragment delimiters.
- ∑i=1^n a_n (without latex delimiter)
- \(\sum_{i=1}^n a_n\)
- \[\sum_{i=1}^n a_n\]
- $$\sum_{i=1}^n a_n$$
- \begin{xyz}\sum_{i=1}^n a_n\end{xyz}
- \begin{xyz} \sum_{i=1}^n a_n \end{xyz}
- $2 + 2$, $3 - 3$
- \begin{xyz} latex block ignores block lvl elements (e.g. list - line starting with -) a = b - c - d \end{xyz}