b5bd8a9461
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
3 lines
75 B
Lua
3 lines
75 B
Lua
function Para (_)
|
|
return pandoc.Para{pandoc.Str(PANDOC_SCRIPT_FILE)}
|
|
end
|