doc/lua-filters.md: describe parameters to pandoc.pipe

This commit is contained in:
Albert Krewinkel 2020-10-11 12:58:52 +02:00
parent ce13579f8d
commit 3bad78ca96
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

View file

@ -2738,9 +2738,21 @@ format, and functions to filter and modify a subtree.
Runs command with arguments, passing it some input, and returns
the output.
Parameters:
`command`
: program to run; the executable will be resolved using default
system methods (string).
`args`
: list of arguments to pass to the program (list of strings).
`input`
: data which is piped into the program via stdin (string).
Returns:
- Output of command.
- Output of command, i.e. data printed to stdout (string)
Raises: