mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-29 02:45:35 +00:00
When converting e.g. an align environment to an aligned environment
inside a Math element, we need to include a newline before the
`\end{aligned}`, since the previous line might end in a comment.
Closes #8122.
19 lines
288 B
Markdown
19 lines
288 B
Markdown
```
|
|
% pandoc -f latex -t native
|
|
\begin{eqnarray}
|
|
A&=&B,\\
|
|
C&=&D,\\
|
|
%\end{eqnarray}
|
|
%\begin{eqnarray}
|
|
E&=&F
|
|
\end{eqnarray}
|
|
^D
|
|
[ Para
|
|
[ Math
|
|
DisplayMath
|
|
"\\begin{aligned}\nA&=&B,\\\\\nC&=&D,\\\\\n%\\end{eqnarray}\n%\\begin{eqnarray}\nE&=&F\n\\end{aligned}"
|
|
]
|
|
]
|
|
```
|
|
|