mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 03:36:42 +00:00
New templates variables can be added by giving variable-value pairs as a
second return value of the global function `Doc`.
Example:
function Doc (body, meta, vars)
vars.date = vars.date or os.date '%B %e, %Y'
return body, vars
end
Closes: #6731