Skip to content
Discussion options

You must be logged in to vote

It should be something like this:

This is a simple

$$
\begin{equation}
x=0 \label{eq:a}
\end{equation}
$$

so that now I can reference this as $\eqref{eq:a}$. Right?

https://stackblitz.com/edit/vite-lhdnrmuz?file=docs/.vitepress/config.ts,docs/.vitepress/theme/index.ts,docs/index.md

Not sure if it's possible to write without equation environment, because your syntax will need passing the leading and trailing $$ to mathjax too, but the plugins usually only pass the content.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@brc-dd
Comment options

Answer selected by lazarusA
@lazarusA
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants