git.iko.soy/typeable/pandoc
on master help sign in
Fix code example in lua-filters.md.

Closes #6795, thanks to Odin Kroeger.

commitba4dfd4f58326bc6a7305b96369bf24c65f487d6 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 1 Nov 2020, 10:45 (6 years ago) parent992657e
1 file changed+2−1
doc/lua-filters.md+2−1
doc/lua-filters.md+2−1
@@ -2605,7 +2605,8 @@ format, and functions to filter and modify a subtree.
26052605 local caption = "Overview"
26062606 local aligns = {pandoc.AlignDefault, pandoc.AlignDefault}
26072607 local widths = {0, 0} -- let pandoc determine col widths
2608− local headers = {"Language", "Typing"}
2608+ local headers = {{pandoc.Plain({pandoc.Str "Language"})},
2609+ {pandoc.Plain({pandoc.Str "Typing"})}}
26092610 local rows = {
26102611 {{pandoc.Plain "Haskell"}, {pandoc.Plain "static"}},
26112612 {{pandoc.Plain "Lua"}, {pandoc.Plain "Dynamic"}},