Skip to content

ensure commandline works with repeated options #3

@msprev

Description

@msprev
  • For pandoc key-values, the value should be a quoted inline code span, e.g. include-in-header: "path/to/my/header".

Not having tested I wonder if you have noted that some options
beside -F and -M are repeatable and therefore should take a list
(of 'codes') as value?

E.g. the default latex template says:

 $for(header-includes)$ 
 $header-includes$ 
 $endfor$ 

and it works with plain pandoc:

 $ echo '\foo' >foo.ltx 
 $ echo '\bar' >bar.ltx 
 $ pandoc -w latex -H foo.ltx -H bar.ltx 
 ^D 
 ... 
 \foo 
 \bar 

 \begin{document} 
 ... 

I use particularly -H like that so I reacted at the wording of the
readme.

/bpj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions