aboutsummaryrefslogtreecommitdiff
path: root/test/lua/strmacro.lua
blob: 1b28801be964de32794d7a9ea110d64bafb5b716 (plain)
1
2
3
4
5
6
7
8
9
10
return {
  { Str = function (inline)
      if inline.c == "{{helloworld}}" then
        return pandoc.Emph {pandoc.Str "Hello, World"}
      else
        return inline
      end
  end,
  }
}