aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lua-filters.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index a9a02e745..b715b8218 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -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"}},