goessner / mdmath

LaTeX Math for Markdown inside of Visual Studio Code.
MIT License
750 stars 57 forks source link

Commutative diagrams are not supported #112

Closed nablatensor closed 3 years ago

nablatensor commented 3 years ago

Summary

KATEX supports commuative diagrams. But in mdmath it seems not to be integrated.

Expected behavior

The code $$ \begin{CD}    A @>a>> B \ @VbVV @AAcA \    C @= D \end{CD} $$ shall render a commutative diagram.

Actual behavior

No commutative diagrams

Steps to reproduce

Code example

$$
\begin{CD}
   A @>a>> B \\
@VbVV @AAcA \\
   C @= D
\end{CD}
$$

Related links

Environment

     Operating system: windows 10
       VSCode version: 1.56.2
Markdown+Math version: 2.51
goessner commented 3 years ago

hmm ... thanks for this hint ... in fact it works already with my new version of markdown-it-texmath 2.5.5.

grafik

So it will also work in mdmath, which will include an update of katex ... due in some days.