diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-12-26 10:24:12 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-12-26 10:25:05 -0800 |
commit | ba4b9db16d5f8bdfb26f8c0d344bd8ce78cf8ddd (patch) | |
tree | 258c6cd4731ea35d1ca0d42c79f4fbc6fcc73a96 /doc | |
parent | 718b2c5837f4a72a6ba58bc5c307431316e7d4dc (diff) |
Tweaks to lua-filters.md docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua-filters.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md index 6ab6d3718..e9ed704ad 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -1400,12 +1400,13 @@ Lua functions for pandoc scripts. Usage: -- within a file defining a pandoc filter: + local text = require('text') function Str(text) - return pandoc.Str(utf8.upper(text)) + return pandoc.Str(text.upper(text)) end return {pandoc.global_filter()} - -- the above is equivallent to + -- the above is equivalent to -- return {{Str = Str}} [`pipe (command, args, input)`]{#pipe} |