MSzturc / obsidian-advanced-slides

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

Cannot show the matrix correctly #236

Open ghost opened 1 year ago

ghost commented 1 year ago

When inputting a matrix, I cannot get a newline by using \\ For example,

\begin{matrix}
a & b \\
c & d 
\end{matrix}

cannot show the matrix correct. But using a "\newline"

\begin{matrix}
a & b \newline
c & d 
\end{matrix}

it wokrs.

ghost commented 1 year ago

It may because the first backslash is used as an escape character, so it cannot be identified in HTML.