Skip to content

Commit 4206bcf

Browse files
committed
use . delimiter for chapters in non-html, non-latex formats
1 parent 35c868a commit 4206bcf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/resources/filters/crossref/sections.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ function sections()
5555
if appendix then
5656
el.content:insert(1, pandoc.Space())
5757
tprepend(el.content, crossrefOption("appendix-delim", stringToInlines("")))
58+
elseif level == 1 and not _quarto.format.isHtmlOutput() then
59+
el.content:insert(1, pandoc.Str(". "))
5860
else
5961
el.content:insert(1, pandoc.Space())
6062
end

0 commit comments

Comments
 (0)