diff options
Diffstat (limited to 'workflow/phases.cwl')
| -rwxr-xr-x | workflow/phases.cwl | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/workflow/phases.cwl b/workflow/phases.cwl new file mode 100755 index 0000000..95df658 --- /dev/null +++ b/workflow/phases.cwl @@ -0,0 +1,47 @@ +#!/usr/bin/env cwl-runner + +cwlVersion: v1.0 +class: Workflow +$namespaces: + dc: http://purl.org/dc/elements/1.1/ + license: https://spdx.org/licenses/ + +inputs: + annotated_markdown: File + +outputs: + annotated_html: + type: File + outputSource: convert/html_with_rdfa + annotated_pdf: + type: File + outputSource: convert/latex_with_xmp + markdown_with_metadata: + type: File + outputSource: extract/markdown + plain_markdown: + type: File + outputSource: strip/markdown + +steps: + convert: + in: + input_file: annotated_markdown + run: pandoc-filter-tool.cwl + out: + - html_with_rdfa + - latex_with_xmp + extract: + in: + input_file: annotated_markdown + run: pandoc-filter-tool.cwl + out: + - markdown + strip: + in: + input_file: annotated_markdown + run: pandoc-filter-tool.cwl + out: + - markdown +dc:license: license:GPL-3.0-or-later +dc:rights: Copyright 2025, Jonas Smedegaard <dr@jones.dk> |
