Skip to content

docs: mention two trailing spaces for hard line breaks - #2351

Merged
cderv merged 1 commit into
mainfrom
docs/two-space-line-breaks
Nov 10, 2026
Merged

cderv merged 1 commit into
mainfrom
docs/two-space-line-breaks

Conversation

@cderv

@cderv cderv commented Nov 10, 2026

Copy link
Copy Markdown
Member

Follow-up to #2092, which documented hard line breaks with a trailing backslash only. The two-trailing-spaces form was left out because Quarto 2 was not expected to support it, but Quarto 2 kept it (see this comment).

The Line Breaks section now mentions two or more trailing spaces as well. The backslash stays the main example: it is visible, and editors that strip trailing whitespace won't remove it.

Related to quarto-dev/quarto-cli#8984

The Line Breaks section only showed the trailing backslash because
Quarto 2 was not expected to support the two-space form. Quarto 2 kept
it, so document it too. The backslash stays the recommended form: it is
visible, and editors that strip trailing whitespace won't remove it.

Refs quarto-dev/quarto-cli#8984
@github-actions

Copy link
Copy Markdown
Contributor

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-2351.quarto.org

🔄 Modified Documents

@cderv
cderv merged commit 71c95da into main Nov 10, 2026
4 checks passed
@cderv
cderv deleted the docs/two-space-line-breaks branch November 10, 2026 16:48
@github-actions

Copy link
Copy Markdown
Contributor

Successfully created backport PR for prerelease:

github-actions Bot added a commit that referenced this pull request Nov 10, 2026
The Line Breaks section only showed the trailing backslash because
Quarto 2 was not expected to support the two-space form. Quarto 2 kept
it, so document it too. The backslash stays the recommended form: it is
visible, and editors that strip trailing whitespace won't remove it.

Refs quarto-dev/quarto-cli#8984

(cherry picked from commit 71c95da)

Co-authored-by: Christophe Dervieux <christophe.dervieux@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant