You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error running filter filter.lua:
PandocLuaError "Error during function call: Could not get SimpleTable: Could not read list: expected table, got 'Language' (string)"
stack traceback:
[C]: in function 'pandoc.utils.from_simple_table'
filter.lua:17: in function 'CodeBlock'
Description
There is a code example for using
pandoc.SimpleTable
on https://pandoc.org/lua-filters.html#pandoc.simpletable.It reads:
However, this code throws error when run with Pandoc v2.11.0.4 on macOS v10.14.6.
Steps to reproduce
Wrap the above code in a filter and save it as
filter.lua
Call the filter with a document that runs it.
This throws:
Getting the code to work
I got the code to work by changing
to
The text was updated successfully, but these errors were encountered: