"Fossies" - the Fresh Open Source Software Archive

Member "pandoc-2.18/test/command/3309.md" (4 Apr 2022, 751 Bytes) of package /linux/www/pandoc-2.18.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Certain environments should be treated as inline unless they are surrounded by blank lines:

% pandoc -t latex --wrap=preserve
Lorem ipsum dolor sit amet,

\begin{equation}
E = mc^2,
\end{equation}

consectetur adipiscing elit.
^D
Lorem ipsum dolor sit amet,

\begin{equation}
E = mc^2,
\end{equation}

consectetur adipiscing elit.
% pandoc -t latex --wrap=preserve
Lorem ipsum dolor sit amet,
\begin{equation}
E = mc^2,
\end{equation}
consectetur adipiscing elit.
^D
Lorem ipsum dolor sit amet,
\begin{equation}
E = mc^2,
\end{equation}
consectetur adipiscing elit.
% pandoc -t latex --wrap=preserve
The formula
\begin{math}
x = y
\end{math}
should be inline.
^D
The formula
\begin{math}
x = y
\end{math}
should be inline.