mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-10 19:37:12 +00:00
5be9052f5f
The flag 'lua53` must now be used with that package if pandoc is to be compiled against Lua 5.3.
11 lines
366 B
Lua
11 lines
366 B
Lua
-- Test that constructors are "smart" in that they autoconvert
|
|
-- types where sensible.
|
|
function Para (_)
|
|
return {
|
|
pandoc.BulletList{pandoc.Para "Hello", pandoc.Para "World"},
|
|
pandoc.DefinitionList{{"foo", pandoc.Para "placeholder"}},
|
|
pandoc.LineBlock{"Moin", "Welt"},
|
|
pandoc.OrderedList{pandoc.Plain{pandoc.Str "one"}, pandoc.Plain "two"}
|
|
}
|
|
end
|