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