File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ local function _main()
1313 result :insert (pandoc .RawInline (" typst" , tostring (v )))
1414 elseif type (v ) == " string" then
1515 result :insert (pandoc .RawInline (" typst" , " \" " .. v .. " \" " ))
16+ elseif type (v ) == " boolean" then
17+ result :insert (pandoc .RawInline (" typst" , v and " true" or " false" ))
1618 elseif v .t == " RawInline" or v .t == " RawBlock" then
1719 if v .format == " typst" then
1820 result :insert (v )
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function render_typst()
7575 {" level" , el .level },
7676 })
7777 if el .classes :includes (" unnumbered" ) then
78- params :insert ({" numbering" , " none" })
78+ params :insert ({" numbering" , pandoc . RawInline ( " typst " , " none" ) })
7979 end
8080 if el .classes :includes (" unlisted" ) then
8181 params :insert ({" outlined" , false })
You can’t perform that action at this time.
0 commit comments