Support --listings in markdown2pdf (Etienne Millon).
This commit is contained in:
parent
d8d0f46c4c
commit
d28daf0e89
2 changed files with 4 additions and 1 deletions
|
@ -48,6 +48,9 @@ packages are not included in your latex setup, they can be obtained from
|
|||
-N, \--number-sections
|
||||
: Number section headings in LaTeX output. (Default is not to number them.)
|
||||
|
||||
\--listings
|
||||
: Use listings package for LaTeX code blocks
|
||||
|
||||
\--template=*FILE*
|
||||
: Use *FILE* as a custom template for the generated document. Implies
|
||||
`-s`. See the section TEMPLATES in `pandoc`(1) for information about
|
||||
|
|
|
@ -155,7 +155,7 @@ main = bracket
|
|||
"--include-before-body","--include-after-body",
|
||||
"--custom-header","--output",
|
||||
"--template", "--variable",
|
||||
"--csl", "--bibliography", "--data-dir"]
|
||||
"--csl", "--bibliography", "--data-dir", "--listings"]
|
||||
let isOpt ('-':_) = True
|
||||
isOpt _ = False
|
||||
let opts = filter isOpt args
|
||||
|
|
Loading…
Reference in a new issue