You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to my settings.json and reloaded vscode, but markdown still does not display the rightarrow correctly:
$\newcommand{\ra}{\rightarrow}$$\ra$
Edit: If I also add "markdown.extension.math.enabled": false to settings.json, then the $\ra$ displays correctly. However
If I re-render the preview the $\newcommand{\ra}{\rightarrow}$ displays in red as invalid latex, I believe because the command still exists from the previous rendering
I still get an error when using these commands in a python notebook: ParseError: KaTeX parse error: Undefined control sequence: \ra at position 1: \ra.
Summary
Macros such as
$\newcommand{\ra}{\rightarrow}$
are not persisting between math blocks.Steps to reproduce
Install the latest version of VSCode (1.58).
Disable VSCode's built-in markdown math renderer: uncheck the
Markdown > Math
setting checkbox.Create a new markdown file in VSCode.
Write the following:
I would like for this to work, but it currently does not. However, I believe that by using KaTeX's
globalGroup
option, it should be able to work.Environment
The text was updated successfully, but these errors were encountered: