Skip to content

docs: Remove arbitrary line breaks in markdown prose - #2220

Merged
DaveSkender merged 1 commit into
mainfrom
docs/unwrap-markdown-prose
Aug 24, 2026
Merged

docs: Remove arbitrary line breaks in markdown prose#2220
DaveSkender merged 1 commit into
mainfrom
docs/unwrap-markdown-prose

Conversation

@DaveSkender

Copy link
Copy Markdown
Member

Prose paragraphs and list items were hard-wrapped at roughly 80–90 characters in thirteen files, against the convention everywhere else in the repo, where a paragraph or list item is one line. MD013 is disabled in .markdownlint-cli2.jsonc, so line length is deliberately unenforced.

Hard wrapping makes diffs noisier than the edit: changing a word reflows the rest of the paragraph, so a one-word change shows as several changed lines and review has to re-read all of them. Some of this was mine — the shim correction notes added in #2210 and #2214 were wrapped.

Scope

13 files, 54 joined lines. Three account for most of it:

File Joined lines
tools/performance/benchmarking.md 19
docs/migration/v3.md 17
docs/CONTRIBUTING.md 8
10 others 1 each

Finding them took two attempts. A naive scan reported 117 files and 984 lines, but almost all were VitePress YAML frontmatter and Vue <ClientOnly> blocks rather than prose. Excluding frontmatter, fences, tables, blockquotes, HTML/Vue blocks, containers, and link reference definitions brings it to the real set above.

Safety

Content is byte-identical under whitespace normalization, asserted per file before writing — a file whose normalized text changed would have been skipped, and none were.

Left untouched: YAML frontmatter, code fences, tables, blockquotes, HTML and Vue blocks, ::: containers, link reference definitions, and explicit two-space hard breaks (which are a real <br> and must not be joined). No fence or table line appears anywhere in the diff — verified by grepping the diff itself.

markdownlint-cli2 reports 0 issues across all 183 files, and the detector now finds zero remaining wrapped prose.

Merge order

No constraint. Verified clean against both open PRs (#2218, #2219) in every direction — those two carry their own added prose already unwrapped, so nothing here overlaps them.

Prose paragraphs and list items were hard-wrapped at roughly 80-90
characters in thirteen files, against the convention everywhere else in
the repo, where a paragraph or list item is one line. MD013 is disabled
in .markdownlint-cli2.jsonc, so line length is deliberately unenforced.

Hard wrapping makes diffs noisier than the edit: changing a word
reflows the rest of the paragraph, so a one-word change shows as
several changed lines and review has to re-read them all.

Joins each wrapped paragraph and list item onto a single line. Content
is byte-identical under whitespace normalization, verified per file
before writing. Frontmatter, code fences, tables, blockquotes, HTML and
Vue blocks, containers, link reference definitions, and explicit
two-space hard breaks are all left untouched; no fence or table line
appears in the diff.

markdownlint-cli2 reports 0 issues across all 183 files.
@DaveSkender
DaveSkender requested a review from a team August 24, 2026 04:01
@facioquoqa

facioquoqa Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

:neckbeard: FaciōQuōqa Mage Reviewer is standing by.

  • Trigger review

@codacy-production

codacy-production Bot commented Aug 24, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · -0.01% coverage variation

Metric Results
Coverage variation -0.01% coverage variation (-1.00%)
Diff coverage diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (884b594) 19640 18952 96.50%
Head commit (bf3f9ad) 19680 (+40) 18988 (+36) 96.48% (-0.01%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#2220) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@DaveSkender
DaveSkender enabled auto-merge (squash) August 24, 2026 04:02
@DaveSkender
DaveSkender merged commit edd9a27 into main Aug 24, 2026
10 checks passed
@DaveSkender
DaveSkender deleted the docs/unwrap-markdown-prose branch August 24, 2026 04:05
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