Files
Albert Krewinkel 5be9052f5f [API Change] Extract Lua code into new package pandoc-lua-engine
The flag 'lua53` must now be used with that package if pandoc is to be
compiled against Lua 5.3.
2022-09-30 08:33:40 -07:00

13 lines
397 B
Lua

return {
{
Meta = function(meta)
-- The call to `MetaInlines` is redundant and used for testing purposes
-- only. The explicit use of a MetaValue constructor is only useful when
-- used with an empty table: `MetaInlines{}` is read differently than
-- `MetaBlocks{}`.
meta.title = pandoc.MetaInlines{pandoc.SmallCaps(meta.title)}
return meta
end
}
}