summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lua-filters.md19
1 files changed, 0 insertions, 19 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index afa9b939f..10dca0dce 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -1325,25 +1325,6 @@ Lua functions for pandoc scripts.
## Helper Functions
-[`global_filter ()`]{#global_filter}
-
-: Use functions defined in the global namespace to create a
- pandoc filter.
-
- Returns: A list of filter functions
-
- Usage:
-
- -- within a file defining a pandoc filter:
- text = require 'text'
- function Str(elem)
- return pandoc.Str(text.upper(elem.text))
- end
-
- return {pandoc.global_filter()}
- -- the above is equivalent to
- -- return {{Str = Str}}
-
[`pipe (command, args, input)`]{#pipe}
: Runs command with arguments, passing it some input, and