git.iko.soy/typeable/pandoc
on master help sign in
Support --listings in markdown2pdf (Etienne Millon).
commitd28daf0e89836fdb84653746338baa37a9c15b7f authorJohn MacFarlane <jgm@berkeley.edu> dateFri 28 Jan 2011, 21:21 (16 years ago) parentd8d0f46
2 files changed+4−1
man/man1/markdown2pdf.1.md+3 src/markdown2pdf.hs+1−1
man/man1/markdown2pdf.1.md+3
@@ -48,6 +48,9 @@ packages are not included in your latex setup, they can be obtained from
4848-N, \--number-sections
4949: Number section headings in LaTeX output. (Default is not to number them.)
5050
51+\--listings
52+: Use listings package for LaTeX code blocks
53+
5154\--template=*FILE*
5255: Use *FILE* as a custom template for the generated document. Implies
5356 `-s`. See the section TEMPLATES in `pandoc`(1) for information about
src/markdown2pdf.hs+1−1
@@ -155,7 +155,7 @@ main = bracket
155155 "--include-before-body","--include-after-body",
156156 "--custom-header","--output",
157157 "--template", "--variable",
158− "--csl", "--bibliography", "--data-dir"]
158+ "--csl", "--bibliography", "--data-dir", "--listings"]
159159 let isOpt ('-':_) = True
160160 isOpt _ = False
161161 let opts = filter isOpt args