5

Would it be possible to use equation numbers with the kramdown engine in jekyll? It seems that the previous engine maruku had supported equation numbering. I wanted to use equation numbering and cross-referencing supported by MathJax.

I have tried

$$
\begin{equation}
a + b = c \label{abc}
\end{equation}
$$

Equation \eqref{abc} is ...

and I obtained:

a+b=c

Chang
  • 846
  • 10
  • 23

1 Answers1

3

Try this :

$$
\begin{equation}
a + b = c \tag{abc}\label{eq:one}
\end{equation} 
$$

I refer you to e\eqref{eq:one}.
CobaltGray
  • 41
  • 8
  • In my case this results in "I refer you to e(abc)" instead of the equation's number. Any idea how to solve this problem? – Gilfoyle Dec 14 '20 at 22:17