I use pandoc to convert Markdown to latex. My problem is that pandoc adds extra paragraph breaks around start / end environments.
A source:
**First** phrase in a paragraph. \begin{multline*} some long formulae \end{multline*} Second phrase in a paragraph.
Running pandoc my.md -o my.tex yields:
\textbf{First} phrase in a paragraph. \begin{multline*} some long formulae \end{multline*} Second phrase in a paragraph.
It's clear that this is inappropriate behavior due to the extra vertical space that put latex in the resulting PDF when it sees extra blank lines around multline .
Is there a way to suppress extra blank lines in pandoc .tex output?
source share