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
|
-N, \--number-sections
|
||||||
: Number section headings in LaTeX output. (Default is not to number them.)
|
: Number section headings in LaTeX output. (Default is not to number them.)
|
||||||
|
|
||||||
|
\--listings
|
||||||
|
: Use listings package for LaTeX code blocks
|
||||||
|
|
||||||
\--template=*FILE*
|
\--template=*FILE*
|
||||||
: Use *FILE* as a custom template for the generated document. Implies
|
: Use *FILE* as a custom template for the generated document. Implies
|
||||||
`-s`. See the section TEMPLATES in `pandoc`(1) for information about
|
`-s`. See the section TEMPLATES in `pandoc`(1) for information about
|
||||||
|
|
|
@ -155,7 +155,7 @@ main = bracket
|
||||||
"--include-before-body","--include-after-body",
|
"--include-before-body","--include-after-body",
|
||||||
"--custom-header","--output",
|
"--custom-header","--output",
|
||||||
"--template", "--variable",
|
"--template", "--variable",
|
||||||
"--csl", "--bibliography", "--data-dir"]
|
"--csl", "--bibliography", "--data-dir", "--listings"]
|
||||||
let isOpt ('-':_) = True
|
let isOpt ('-':_) = True
|
||||||
isOpt _ = False
|
isOpt _ = False
|
||||||
let opts = filter isOpt args
|
let opts = filter isOpt args
|
||||||
|
|
Loading…
Add table
Reference in a new issue