Skip to content

Commit

Permalink
doc/lua-filters.md: describe parameters to pandoc.pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Oct 11, 2020
1 parent ce13579 commit 3bad78c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion doc/lua-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 3bad78c

Please sign in to comment.