From 3bad78ca9623ad3e496de7c29cf1a6e8dded1026 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sun, 11 Oct 2020 12:58:52 +0200 Subject: [PATCH] doc/lua-filters.md: describe parameters to `pandoc.pipe` --- doc/lua-filters.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/lua-filters.md b/doc/lua-filters.md index 8ce427a5d..175a83fe5 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -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: