blob: d657d08c9ac498b73392926ff12776fae25dead7 (
plain)
- #!/usr/bin/env cwl-runner
- cwlVersion: v1.0
- class: CommandLineTool
- label: Pandoc filter
- doc: Transforms Pandoc AST
- $namespaces:
- dc: http://purl.org/dc/elements/1.1/
- license: https://spdx.org/licenses/
- inputs:
- input_file:
- type: File
- inputBinding:
- position: 1
- output_format:
- type: string
- inputBinding:
- prefix: -t
- position: 2
- outputs:
- html_with_rdfa:
- type: File
- outputBinding:
- glob: output.${output_format}
- latex_with_xmp:
- type: File
- outputBinding:
- glob: output.${output_format}
- markdown:
- type: File
- outputBinding:
- glob: output.${output_format}
- stdout: output
- baseCommand: pandoc
- arguments:
- - --output=output.${output_format}
- dc:license: license:GPL-3.0-or-later
- dc:rights: Copyright 2025, Jonas Smedegaard <dr@jones.dk>
- stdin: $(inputs.file1.path)
|