mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 21:55:44 +00:00
rst2latex.py uses an align* environment for math in `.. math::` blocks, so this math may contain line breaks. If it does, we put the math in an `aligned` environment to simulate rst2latex.py's behavior. Closes #4254.
13 lines
119 B
Markdown
13 lines
119 B
Markdown
```
|
|
% pandoc -f rst -t latex
|
|
.. math::
|
|
|
|
x &= y\\
|
|
y &= z
|
|
^D
|
|
\[\begin{aligned}
|
|
x &= y\\
|
|
y &= z
|
|
\end{aligned}\]
|
|
```
|