git.iko.soy/typeable/pandoc
on 780bf64 help sign in
typeable/pandoc/test/lua/uppercase-header.lua
9 lines 192 B history raw
1local text = require 'text'
3local function str_to_uppercase (s)
4 return pandoc.Str(text.upper(s.text))
5end
7function Header (el)
8 return pandoc.walk_block(el, {Str = str_to_uppercase})
9end