如何在 jekyll 中使用 kramdown 使用编号的 LaTeX 方程

Cha*_*ang 5 markdown jekyll mathjax kramdown

是否可以kramdown在 jekyll的引擎中使用方程数?之前的引擎似乎maruku支持方程编号。我想使用 MathJax 支持的方程编号和交叉引用。

我试过了

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

Equation \eqref{abc} is ...
Run Code Online (Sandbox Code Playgroud)

我获得了:

a+b=c

小智 3

尝试这个 :

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

I refer you to e\eqref{eq:one}.
Run Code Online (Sandbox Code Playgroud)