silverbulletmd / silverbullet-katex

KaTeX plug for Silver Bullet
6 stars 2 forks source link

LaTeX environments align and equation don't work #2

Open lluni opened 1 year ago

lluni commented 1 year ago

The LaTeX environments align and equation don't work, example code:

\begin{equation}
    a = b
\end{equation}

This should render as a centered equation with the index (1) on the right side.

I haven't yet tested other environments.

zefhemel commented 1 year ago

Yeah, this is not a full latex rendering environment (unless KaTeX supports this, I haven’t looked too deeply into it). You should be able to put equations in triple-backtick latex blocks though:

```latex
 a = b
```