aboutsummaryrefslogtreecommitdiff
path: root/doc/lua-filters.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-09-07 16:29:21 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-09-07 16:29:21 -0700
commitba09d2942a93c6d2ce225decd0cfd1c9311476d7 (patch)
treef32b2098d37374e5bd91da0141a6b7d210450f23 /doc/lua-filters.md
parenta211edc8192f2abc9787c1012a3cf3cb3f96952c (diff)
downloadpandoc-ba09d2942a93c6d2ce225decd0cfd1c9311476d7.tar.gz
lua-filters.md: add links to filters, and to lua-filters repository.
Closes #4874.
Diffstat (limited to 'doc/lua-filters.md')
-rw-r--r--doc/lua-filters.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index 19428cde6..9604997df 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -10,11 +10,11 @@ title: Pandoc Lua Filters
Pandoc has long supported filters, which allow the pandoc
abstract syntax tree (AST) to be manipulated between the parsing
-and the writing phase. Traditional pandoc filters accept a JSON
-representation of the pandoc AST and produce an altered JSON
-representation of the AST. They may be written in any
-programming language, and invoked from pandoc using the
-`--filter` option.
+and the writing phase. [Traditional pandoc
+filters](filters.html) accept a JSON representation of the
+pandoc AST and produce an altered JSON representation of the
+AST. They may be written in any programming language, and
+invoked from pandoc using the `--filter` option.
Although traditional filters are very flexible, they have a
couple of disadvantages. First, there is some overhead in
@@ -240,6 +240,11 @@ colon syntax (`mystring:uc_upper()`).
# Examples
+The following filters are presented as examples.
+A repository of useful lua filters (which may also serve
+as good examples) is available at
+<https://github.com/pandoc/lua-filters>.
+
## Macro substitution.
The following filter converts the string `{{helloworld}}` into