git.iko.soy/typeable/pandoc
on relude help sign in
typeable/pandoc/test/command/lua-pandoc-state.lua
11 lines 514 B history raw
1function report (what, value)
2 print(string.format('%16s: %s', what, value))
3end
4report('# input files', #PANDOC_STATE.input_files)
5report('output file', PANDOC_STATE.output_file)
6report('# request header', #PANDOC_STATE.request_headers)
7report('resource path', table.concat(PANDOC_STATE.resource_path, ', '))
8report('source URL', PANDOC_STATE.source_url)
9report('user data dir', PANDOC_STATE.user_data_dir and 'defined' or 'unset')
10report('trace', PANDOC_STATE.trace)
11report('verbosity', PANDOC_STATE.verbosity)