e6a536befc
We want to provide an interface familiar to users of other filtering libraries.
11 lines
194 B
Lua
11 lines
194 B
Lua
return {
|
|
{
|
|
Str = function (elem)
|
|
if elem.text == "{{helloworld}}" then
|
|
return pandoc.Emph {pandoc.Str "Hello, World"}
|
|
else
|
|
return elem
|
|
end
|
|
end,
|
|
}
|
|
}
|