Fix code example in lua-filters.md.

Closes #6795, thanks to Odin Kroeger.
This commit is contained in:
John MacFarlane 2020-11-01 10:45:16 -08:00
parent 992657efaa
commit ba4dfd4f58

View file

@ -2605,7 +2605,8 @@ format, and functions to filter and modify a subtree.
local caption = "Overview"
local aligns = {pandoc.AlignDefault, pandoc.AlignDefault}
local widths = {0, 0} -- let pandoc determine col widths
local headers = {"Language", "Typing"}
local headers = {{pandoc.Plain({pandoc.Str "Language"})},
{pandoc.Plain({pandoc.Str "Typing"})}}
local rows = {
{{pandoc.Plain "Haskell"}, {pandoc.Plain "static"}},
{{pandoc.Plain "Lua"}, {pandoc.Plain "Dynamic"}},