pandoc:
filters:
before:
- upcase-h1.lua
upcase-h1.lualocal text = pandoc.text
function Header(el)
if el.level == 1 then
return el:walk {
Str = function(el)
return pandoc.Str(
text.upper(el.text))
end
}
end
end