Open phamdn opened 3 months ago
Thanks for the report.
Note that what Rmarkdown does is not relevant. Quarto is not Rmarkdown and has made several design/style choices different from Rmarkdown.
This being said, indeed the level one headings get a trailing dot after the number while the other headings don't.
The trailing dot is Quarto's doing.
Input | Output |
---|---|
````sh echo "# Heading 1a ## Heading 2 ### Heading 3 # Heading 1b" > index.qmd quarto pandoc --from markdown --to docx --number-sections index.qmd -o index.docx ```` | |
````sh echo "# Heading 1a ## Heading 2 ### Heading 3 # Heading 1b" > index.qmd quarto render index.qmd --to docx --number-sections -o index.docx ```` |
Apart from manually removing the trailing dot in docx, is there any other way to deal with this?
Bug description
When using number-sections: true, qmd docx produces an extra dot after the number of the Heading 1, which does not occur in Rmd word_document
Steps to reproduce
In qmd
and in Rmd
Expected behavior
Actual behavior
Your environment
RStudio 2024.04.2 Windows 11
Quarto check output