You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like text in which there is a latex in-line like $y=mx+b$ followed by a math block like
$$y=mx+b$$
followed by more latex in-line like $y=mx+b$ isn't currently working.
Removing the paragraph breaks between the math block and the in-line latex solves the initial rendering issue, but then using an aligned environment fails:
$$\begin{align*}
w_0&\leftarrow w_0-\alpha\frac{\partial L(\hat{y},y)}{\partial w_0}\
w_1&\leftarrow w_1-\alpha\frac{\partial L(\hat{y},y)}{\partial w_1}
\end{align*}$$
where $\mu_t$ specifies an unobserved dynamic level component, $\gamma_t$ an unobserved dynamic seasonal component, $\mathbf x_t^\prime \boldsymbol{\beta}$ a partially unobserved regression component (the regressors $\mathbf x_t$ are observed, but the coefficients $\boldsymbol{\beta}$ are not), and $\epsilon_t \sim N(0, \sigma_{\epsilon}^2)$ an unobserved irregular component. The equation describing the outcome $y_t$ is commonly referred to as the observation equation, and the transition equations governing the evolution of the unobserved states are known as the state equations.
A workaround is to use a [math-block]( instead of $$ to signify the latex code block (see here for more details on why). This however, is not rendered in VS Code.
Activity
devindg commentedon Aug 23, 2022
I'm having the same exact problem, which I noticed today. It was working not that long ago.
For reference, below is the markdown that is not rendering correctly. The paragraph after the math block
$$...$$is not rendering the inline math.Model
A structural time series model with level, trend, seasonal, and regression components takes the form:
where$\mu_t$ specifies an unobserved dynamic level component, $\gamma_t$ an unobserved dynamic seasonal component, $\mathbf x_t^\prime \boldsymbol{\beta}$ a partially unobserved regression component (the regressors $\mathbf x_t$ are observed, but the coefficients $\boldsymbol{\beta}$ are not), and $\epsilon_t \sim N(0, \sigma_{\epsilon}^2)$ an unobserved irregular component. The equation describing the outcome $y_t$ is commonly referred to as the observation equation, and the transition equations governing the evolution of the unobserved states are known as the state equations.
samlouiscohen commentedon Aug 25, 2022
Experiencing this issue as well. Every paragraph after the first fails to properly render.
devindg commentedon Aug 30, 2022
It seems like this repo is not very active. We may have to consider alternative options for displaying math.
LordFckHelmchen commentedon Jan 23, 2024
A workaround is to use a [math-block]( instead of
$$to signify the latex code block (see here for more details on why). This however, is not rendered in VS Code.github-actions commentedon Aug 11, 2024
Stale issue message