MSzturc / obsidian-advanced-slides

Create markdown-based reveal.js presentations in Obsidian
https://mszturc.github.io/obsidian-advanced-slides/
MIT License
939 stars 80 forks source link

Problematic rendering in the math formula #302

Open liblaf opened 2 months ago

liblaf commented 2 months ago

Input

$$
\begin{vmatrix}
  a & b \\
  c & d
\end{vmatrix} = a d - b c
$$

$$
\mathbf{A}_{ij} \mathbf{x}_j = \mathbf{B}_{ij} \mathbf{y}_j
$$

Problematic Output

$$ \begin{vmatrix} a & b \ c & d \end{vmatrix} = a d - b c $$

$ \mathbf{A}_{ij} \mathbf{x}j = \mathbf{B}{ij} \mathbf{y}_j $

Expected

\begin{vmatrix}
  a & b \\
  c & d
\end{vmatrix} = a d - b c
\mathbf{A}_{ij} \mathbf{x}_j = \mathbf{B}_{ij} \mathbf{y}_j