Vscode-markdown: Math randering (keep up with the latest KaTeX version)

Created on 6 Jun 2018  ·  9Comments  ·  Source: yzhang-gh/vscode-markdown

Cannot align equations


when I typed:

$$
\begin{align}
\sqrt{37} & = \sqrt{\frac{73^2-1}{12^2}} \\
 &= \sqrt{\frac{73^2}{12^2}\cdot\frac{73^2-1}{73^2}} \\ 
 &= \sqrt{\frac{73^2}{12^2}}\sqrt{\frac{73^2-1}{73^2}} \\
 &= \frac{73}{12}\sqrt{1 - \frac{1}{73^2}} \\ 
 & \approx \frac{73}{12}\left(1 - \frac{1}{2\cdot73^2}\right)
\end{align}
$$

Most helpful comment

Thanks for the infomation.

I planned to upgrade KaTeX package when it comes to 0.10.0. But it stays on 0.10.0-rc.1 for a long time. Maybe I need to update to 0.10.0-rc.1 first.

PR is welcomed 😏

All 9 comments

You can find all supported functions here.

For your case, you need to use aligned.

also about \tag{1}

tag seems to be a new feature. I will update the KaTeX version.

Sure
Thx

Updated. Please install the latest CI build. (the download link can be found at the end of README)

Shipped with v1.5.0

Thank for the nice extension. Very useful!
Just to check if it supports any katex symbol for

N - Natural Number ($\N$)
Z - Integer Number ($\Z$)
R - Real Number ($\R$)

as currently it will show as \N, \R, \Z

Thanks for the infomation.

I planned to upgrade KaTeX package when it comes to 0.10.0. But it stays on 0.10.0-rc.1 for a long time. Maybe I need to update to 0.10.0-rc.1 first.

PR is welcomed 😏

😄
just found a shortcut to workaround for it
$\mathbb{N}$ will give the right symbol for Natural Number, and etc

so this means you still can wait 🤣

Was this page helpful?
0 / 5 - 0 ratings

Related issues

deanishe picture deanishe  ·  4Comments

lackovic picture lackovic  ·  4Comments

maoturing picture maoturing  ·  4Comments

MonsieurMan picture MonsieurMan  ·  3Comments

chuyangliu picture chuyangliu  ·  5Comments