Step: pandoc#

badge-status badge-metamodel

Transformation step that converts Pandoc-compatible document formats.

Input#

Gets a file from the previous step (otherwise it fails), format needs to be specified using from option.

Output#

Results in a document in desired format specified using to option.

Options#

  • from = specification of the input format (passed to Pandoc via --from, see docs)

  • to = specification of the output format (passed to Pandoc via --to, see docs)

  • (optional) args = additional command line arguments passed to pandoc

Notes#

  • Pandoc filter pandoc-docx-pagebreakpy can be found in addons directory.

Example#

{
  "name" : "pandoc",
  "options" : {
    "from" : "html",
    "to" : "docx",
    "args": "--filter=pandoc-docx-pagebreakpy --reference-doc=src/reference.docx"
  }
}