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
Counld author make vscode-office compatible with Markdown+Math, or provide similar config options vscode-office.katexoptions and vscode-office.macros, so as to let vscode-office support label\ref\eqref? Thanks.
By the way, as shown in the screen shot above, this workaround has a disadvantage: $\ref{eq-a}$$\eqref{eq-a}$ will be rendered as 'eq-a' rather than '1' -- the numbering of equation. I wonder how to fix this bug, or is there another way to support label\ref\eqref?
The text was updated successfully, but these errors were encountered:
Vscode-office (v3.1.8) doesn't support
label
\ref
\eqref
, while Typora and LaTeX supports.Maybe this is due to KaTeX (a dependency of vscode-office) doesn't support it, whis was discussed in KaTeX/KaTeX#2003 .
Here I provide an idea to implement this feature in vscode-office.
There is a workaround proposed in KaTeX/KaTeX#2003 (comment), which doesn't require KaTeX to support
\label
\ref
\eqref
.When KaTeX option is set as:
then
\label
\ref
\eqref
will be supported.This idea can be applied to vscode plugin Markdown+Math, by adding the following settings (from goessner/mdmath#116 (comment)) into vscode config file,
and the following screen shot is the effect.
Counld author make vscode-office compatible with Markdown+Math, or provide similar config options
vscode-office.katexoptions
andvscode-office.macros
, so as to let vscode-office supportlabel
\ref
\eqref
? Thanks.By the way, as shown in the screen shot above, this workaround has a disadvantage:
$\ref{eq-a}$
$\eqref{eq-a}$
will be rendered as 'eq-a' rather than '1' -- the numbering of equation. I wonder how to fix this bug, or is there another way to supportlabel
\ref
\eqref
?The text was updated successfully, but these errors were encountered: