Issue
I installed VS Code today and created a very simple jupyter notebook which runs without any errors, but does not render the LaTex in VS Code even after installing the LaTex Workshop extension.
When I run the same notebook directly in jupyter, it renders fine.
This is the code from the markdown cell in question:
### This is another markdown cell with Latex
This equation defines eigenvalues and eigenvectors: $Mx = \lambda x$
another equation:
$\begin{align*}
(a+b)^2 = a^2+2ab+b^2
\end{align*}$
In jupyter, the cell looks like this:
In VS Code, the cell looks like this:
Solution
I found why that happens. The answer is that the Python extension of vscode (which is the one who allows to open jupyter notebooks inside of it) currently does not support this feature offline. They even open an issue because of this.
EDIT [Jun 16th, 2021]
This problem was fixed in the last version of vscode
and the jupyter extension.
Answered By - Jorge Morgado
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.