git.iko.soy/typeable/pandoc
on master help sign in
doc/lua-filters.md: describe parameters to `pandoc.pipe`
commit3bad78ca9623ad3e496de7c29cf1a6e8dded1026 authorAlbert Krewinkel <albert@zeitkraut.de> dateSun 11 Oct 2020, 12:58 (6 years ago) parentce13579
1 file changed+13−1
doc/lua-filters.md+13−1
doc/lua-filters.md+13−1
@@ -2738,9 +2738,21 @@ format, and functions to filter and modify a subtree.
27382738Runs command with arguments, passing it some input, and returns
27392739the output.
27402740
2741+Parameters:
2742+
2743+`command`
2744+: program to run; the executable will be resolved using default
2745+ system methods (string).
2746+
2747+`args`
2748+: list of arguments to pass to the program (list of strings).
2749+
2750+`input`
2751+: data which is piped into the program via stdin (string).
2752+
27412753Returns:
27422754
2743−- Output of command.
2755+- Output of command, i.e. data printed to stdout (string)
27442756
27452757Raises:
27462758