-
In the Lua filter documentation, I saw the function
What would be an example of a "standalone pandoc Lua script"? My current understanding is that the pandoc Lua modules are only available from within Lua filters or custom readers/writers, and cannot be |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Using local opts = pandoc.cli.parse_options(arg)
for k,v in pairs(opts) do
print(k,v)
end Now try
|
Beta Was this translation helpful? Give feedback.
Using
pandoc-lua
orpandoc lua
you can run a standalone script in the pandoc environment.Example test.lua:
Now try