diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-11-01 10:45:16 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-11-01 10:48:47 -0800 |
commit | ba4dfd4f58326bc6a7305b96369bf24c65f487d6 (patch) | |
tree | a9eae16bee6f9876d743b610d52380bef2cb140c | |
parent | 992657efaa233c8ebcc2e5b87cc328fe419afca0 (diff) | |
download | pandoc-ba4dfd4f58326bc6a7305b96369bf24c65f487d6.tar.gz |
Fix code example in lua-filters.md.
Closes #6795, thanks to Odin Kroeger.
-rw-r--r-- | doc/lua-filters.md | 3 |
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"}}, |