vscode
vscode copied to clipboard
[BUG] The LaTeX/KaTeX rendering is not functioning correctly when viewing in Markdown.
Does this issue occur when all extensions are disabled?: N/A
- VS Code Version:
Latest- OS Version:
Windows 11 Home
Steps to Reproduce:
The LaTeX/KaTeX rendering is not functioning correctly when viewing in Markdown.
- Paste the following code into a Markdown file:
$$
\[
\text{Total vCPUs} = 41 \text{ Pods} \times 0.35 \text{ vCPUs/Pod} = 14.35 \text{ vCPUs}
\]
$$
- Open the Markdown preview.
Expected Behavior:
The LaTeX/KaTeX should render properly in the preview.
Actual Behavior:
The preview shows an error instead of the rendered LaTeX/KaTeX.
Screenshots:
Markdown Input:
Error in Preview:
Additional Information:
The same LaTeX/KaTeX code renders correctly on GitHub Markdown, indicating that the issue is specific to VS Code's Markdown rendering.