From e0ab09611a8ab42c69da81ed3fd3c3df8c0c70de Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 26 Jul 2017 12:50:36 +0200 Subject: HTML writer: render raw inline environments when --mathjax used. We previously did this only with raw blocks, on the assumption that math environments would always be raw blocks. This has changed since we now parse them as inline environments. Closes #3816. --- test/command/3816.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 test/command/3816.md (limited to 'test/command') diff --git a/test/command/3816.md b/test/command/3816.md new file mode 100644 index 000000000..dba37bfec --- /dev/null +++ b/test/command/3816.md @@ -0,0 +1,29 @@ +``` +% pandoc --mathjax -t html5 +This is an equation: +\begin{equation} +y+2 = 3 +\end{equation} + +This is a system of equations: +\begin{align*} +x^2+y^2 & = 2 \\ +\sin(y) & = 0.5 +\end{align*} + +This is Euler's formula: +\begin{eqnarray*} +e^{i\pi} + 1 & = & 0. +\end{eqnarray*} +^D +

This is an equation: \[\begin{equation} +y+2 = 3 +\end{equation}\]

+

This is a system of equations: \[\begin{align*} +x^2+y^2 & = 2 \\ +\sin(y) & = 0.5 +\end{align*}\]

+

This is Euler’s formula: \[\begin{eqnarray*} +e^{i\pi} + 1 & = & 0. +\end{eqnarray*}\]

+``` -- cgit v1.2.3