From f4ae40195ebd1fcfe0568236ce1ba00dbae0f3c1 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 22 May 2025 22:54:07 +0200 Subject: add workflow diagrams --- workflow/pandoc-filter-tool.cwl | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 workflow/pandoc-filter-tool.cwl (limited to 'workflow/pandoc-filter-tool.cwl') diff --git a/workflow/pandoc-filter-tool.cwl b/workflow/pandoc-filter-tool.cwl new file mode 100755 index 0000000..a433081 --- /dev/null +++ b/workflow/pandoc-filter-tool.cwl @@ -0,0 +1,37 @@ +#!/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 + +outputs: + html_with_rdfa: + type: File + outputBinding: + glob: output + latex_with_xmp: + type: File + outputBinding: + glob: output + markdown: + type: File + outputBinding: + glob: output +stdout: output + +baseCommand: pandoc +arguments: +- --output=output.${output_format} +dc:license: license:GPL-3.0-or-later +dc:rights: Copyright 2025, Jonas Smedegaard +stdin: $(inputs.file1.path) -- cgit v1.2.3