r-markdownmathjaxgithub-document

Mathjax is producing numbered breaks between content in Rmd github_document


When I render the following Mathjax within an Rmd github_document I am getting undesired numbers between lines of my formula. How can this be suppressed?

$$
\begin{align}
\text{converted}_i & \sim \operatorname{Binomial}(n=1, p_i) \\
\operatorname{logit}(p_i) & = \beta_0 + \beta_1 \text{condition}_i, \\
\beta_0 & \sim \operatorname{Uniform}(-5, 5) \\
\beta_1 & \sim \operatorname{Uniform}(-5, 5) \\
\sigma & \sim \operatorname{Exponential(1)}
\end{align}
$$

Desired output

enter image description here

Actual output

enter image description here


Solution

  • \begin{align*} and \end{align*} suppressed the numbering.

    @Davide_Cervone this is your answer and I am happy to give you credit if you post as an answer.