git.iko.soy/typeable/pandoc
on 6e2019d help sign in
typeable/pandoc/test/lua/strmacro.lua
10 lines 191 B history raw
1return {
2 { Str = function (inline)
3 if inline.c == "{{helloworld}}" then
4 return pandoc.Emph {pandoc.Str "Hello, World"}
5 else
6 return inline
7 end
8 end,
9 }