Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scidown does not render labeled LaTeX equations with MathJax #9

Open
N0rbert opened this issue Apr 10, 2020 · 0 comments
Open

Scidown does not render labeled LaTeX equations with MathJax #9

N0rbert opened this issue Apr 10, 2020 · 0 comments

Comments

@N0rbert
Copy link

N0rbert commented Apr 10, 2020

Scidown is a dependency of Marker.
As the result Marker can't render the following LaTeX equations by MathJax engine:

LaTeX equation (`\begin{equation}...\end{equation}`)

\begin{equation}
h(z) = \sinh(z)
\end{equation}

---

LaTeX equation with `\begin{equation}...(\#eq:label)\end{equation}` RMarkdown + bookdown syntax (see [this chapter](https://bookdown.org/yihui/bookdown/markdown-extensions-by-bookdown.html#equations)):

\begin{equation}
  f\left(k\right) = \binom{n}{k} p^k\left(1-p\right)^{n-k}
  (\#eq:binom)
\end{equation}

---

LaTeX equation with `\begin{equation}...\label{label}\end{equation}` label for [xaringan](https://bookdown.org/yihui/rmarkdown/xaringan.html)

\begin{equation}
  g\left(k\right) = \binom{n}{k} p^k\left(1-p\right)^{n-k}
\label{binom2}
\end{equation}

The ReText editor also uses MathJax, but renders these equations normally:

math

Please add support for the equation syntax to SciDown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant