Skip to content
Discussion options

You must be logged in to vote

Using pandoc-lua or pandoc lua you can run a standalone script in the pandoc environment.
Example test.lua:

local opts = pandoc.cli.parse_options(arg)

for k,v in pairs(opts) do
  print(k,v)
end

Now try

pandoc lua test.lua -f rst -t latex --trace

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rnwst
Comment options

rnwst Apr 10, 2025
Author Sponsor

@rnwst
Comment options

rnwst Apr 10, 2025
Author Sponsor

@jgm
Comment options

jgm Apr 11, 2025
Maintainer

Answer selected by rnwst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants