doc/lua-filters.md: mention which Lua version is shipped with pandoc

See: #5892
This commit is contained in:
Albert Krewinkel 2019-11-13 08:16:51 +01:00
parent 90e436d496
commit 791043772b
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

View file

@ -30,9 +30,9 @@ executable.
Starting with pandoc 2.0, we have made it possible to write
filters in lua without any external dependencies at all. A lua
interpreter and a lua library for creating pandoc filters is
built into the pandoc executable. Pandoc data types are
marshalled to lua directly, avoiding the overhead of writing
interpreter (version 5.3) and a lua library for creating pandoc
filters is built into the pandoc executable. Pandoc data types
are marshalled to lua directly, avoiding the overhead of writing
JSON to stdout and reading it from stdin.
Here is an example of a lua filter that converts strong emphasis