Skip to content

[Sync to prerelease] docs: mention two trailing spaces for hard line breaks - #2352

Merged
github-actions[bot] merged 1 commit into
prereleasefrom
sync-2351-to-prerelease
Nov 10, 2026
Merged

github-actions[bot] merged 1 commit into
prereleasefrom
sync-2351-to-prerelease

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Description

Sync of #2351 to prerelease.

Original PR

docs: mention two trailing spaces for hard line breaks

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

(cherry picked from commit 71c95da)
@github-actions
github-actions Bot merged commit 41fadf4 into prerelease Nov 10, 2026
@github-actions
github-actions Bot deleted the sync-2351-to-prerelease branch November 10, 2026 16:48
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