mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-30 17:59:17 +08:00
Small tweak in test (add --wrap=preserve).
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
```
|
||||
% pandoc --mathjax -t html5
|
||||
% pandoc --mathjax -t html5 --wrap=preserve
|
||||
This is an equation:
|
||||
\begin{equation}
|
||||
y+2 = 3
|
||||
@@ -16,14 +16,17 @@ This is Euler's formula:
|
||||
e^{i\pi} + 1 & = & 0.
|
||||
\end{eqnarray*}
|
||||
^D
|
||||
<p>This is an equation: <span class="math display">\[\begin{equation}
|
||||
<p>This is an equation:
|
||||
<span class="math display">\[\begin{equation}
|
||||
y+2 = 3
|
||||
\end{equation}\]</span></p>
|
||||
<p>This is a system of equations: <span class="math display">\[\begin{align*}
|
||||
<p>This is a system of equations:
|
||||
<span class="math display">\[\begin{align*}
|
||||
x^2+y^2 & = 2 \\
|
||||
\sin(y) & = 0.5
|
||||
\end{align*}\]</span></p>
|
||||
<p>This is Euler’s formula: <span class="math display">\[\begin{eqnarray*}
|
||||
<p>This is Euler’s formula:
|
||||
<span class="math display">\[\begin{eqnarray*}
|
||||
e^{i\pi} + 1 & = & 0.
|
||||
\end{eqnarray*}\]</span></p>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user