mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 13:15:51 +00:00
Previously the special handling added for #9711 worked only when the math element did not contain spaces before the math environment. Closes #11266.
20 lines
526 B
Markdown
20 lines
526 B
Markdown
```
|
|
% pandoc -t latex
|
|
$$
|
|
\begin{eqnarray}
|
|
S &\rightarrow& a A \nonumber \\
|
|
A &\rightarrow& d B \ | \ b A \ | \ c A \nonumber \\
|
|
B &\rightarrow& a c \ | \ b C \ | \ c A \nonumber \\
|
|
C &\rightarrow& \epsilon \nonumber
|
|
\end{eqnarray}
|
|
$$
|
|
^D
|
|
|
|
\begin{eqnarray}
|
|
S &\rightarrow& a A \nonumber \\
|
|
A &\rightarrow& d B \ | \ b A \ | \ c A \nonumber \\
|
|
B &\rightarrow& a c \ | \ b C \ | \ c A \nonumber \\
|
|
C &\rightarrow& \epsilon \nonumber
|
|
\end{eqnarray}
|
|
```
|