fletcher / peg-multimarkdown

An implementation of MultiMarkdown in C, using a PEG grammar - a fork of jgm's peg-markdown. No longer under active development - see MMD 5.
Other
523 stars 55 forks source link

Extra blank lines at beginning and end of `verbatim` environment #33

Closed jcoulombe closed 13 years ago

jcoulombe commented 13 years ago

This leaves large unnecessary space before and after verbatim code in LaTeX output.

$ cat pre.txt 
This

    is a test

$ cat pre.txt | ../peg-multimarkdown/multimarkdown -t latex
This

\begin{verbatim}

is a test

\end{verbatim}
fletcher commented 13 years ago

Interesting - the spacing in memoir with \adjustwidth and in plain latex modes are quite different....