/
githubmirror
/
pandoc
Обзор
Документация
Войти
/
githubmirror
/
pandoc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
pandoc-lua-engine/test/lua/smallcaps-title.lua
12 строк
397 B
Albert Krewinkel
[API Change] Extract Lua code into new package pandoc-lua-engine
30 сен 2022, 18:33
30 сен 2022, 18:33
5be9052
Код
Авторство
О чём код?
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 } }