Skip to content
Discussion options

You must be logged in to vote

Thanks for the reporting - I think this may be a difference with pandoc as we handle it directly in Quarto

Header = function(el)
if number_depth and el.level > number_depth then
el.classes:insert("unnumbered")
end
if not el.classes:includes("unnumbered") and not el.classes:includes("unlisted") then
return nil
end
local params = pandoc.List({
{"level", el.level},
})
if el.classes:includes("unnumbered") then
params:insert({"numbering", pandoc.RawInline("typst", "none")})
end
if el.classes:includes("unlisted") then
params:insert({"o…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mcanouil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants