rmdfiltr icon indicating copy to clipboard operation
rmdfiltr copied to clipboard

New filter: Add current date

Open crsh opened this issue 4 years ago • 0 comments

As of pandoc 2.17, the following is possible, which would make for a useful filter.

function Doc (body, meta, vars)
  vars.date = vars.date or os.date '%B %e, %Y'
  return body, vars
end

crsh avatar Jan 13 '22 08:01 crsh