mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-24 01:06:30 +00:00
The name of the Lua script which is executed is made available in the global Lua variable `PANDOC_SCRIPT_FILE`, both for Lua filters and custom writers. Closes: #4393
4 lines
75 B
Lua
4 lines
75 B
Lua
function Para (_)
|
|
return pandoc.Para{pandoc.Str(PANDOC_SCRIPT_FILE)}
|
|
end
|