git.iko.soy/typeable/pandoc
on master help sign in
lua-filters.md: add links to filters, and to lua-filters repository.

Closes #4874.

commitba09d2942a93c6d2ce225decd0cfd1c9311476d7 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 7 Sep 2018, 16:29 (8 years ago) parenta211edc
1 file changed+10−5
doc/lua-filters.md+10−5
doc/lua-filters.md+10−5
@@ -10,11 +10,11 @@ title: Pandoc Lua Filters
1010
1111Pandoc has long supported filters, which allow the pandoc
1212abstract syntax tree (AST) to be manipulated between the parsing
13−and the writing phase. Traditional pandoc filters accept a JSON
14−representation of the pandoc AST and produce an altered JSON
15−representation of the AST. They may be written in any
16−programming language, and invoked from pandoc using the
17−`--filter` option.
13+and the writing phase. [Traditional pandoc
14+filters](filters.html) accept a JSON representation of the
15+pandoc AST and produce an altered JSON representation of the
16+AST. They may be written in any programming language, and
17+invoked from pandoc using the `--filter` option.
1818
1919Although traditional filters are very flexible, they have a
2020couple of disadvantages. First, there is some overhead in
@@ -240,6 +240,11 @@ colon syntax (`mystring:uc_upper()`).
240240
241241# Examples
242242
243+The following filters are presented as examples.
244+A repository of useful lua filters (which may also serve
245+as good examples) is available at
246+<https://github.com/pandoc/lua-filters>.
247+
243248## Macro substitution.
244249
245250The following filter converts the string `{{helloworld}}` into