Skip to content

docs: fix code block line highlighting after docs reformats - #55105

Merged
jkleinsc merged 2 commits into
45-x-yfrom
trop/45-x-y-bp-docs-fix-code-block-line-highlighting-after-docs-reformats-1792411215777
Oct 19, 2026
Merged

jkleinsc merged 2 commits into
45-x-yfrom
trop/45-x-y-bp-docs-fix-code-block-line-highlighting-after-docs-reformats-1792411215777

Conversation

@trop

@trop trop Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Backport of #55097

See that PR for details.

Notes: none

trop Bot and others added 2 commits October 19, 2026 12:00
Several highlighted code blocks in the IPC and preload tutorials had their
line-highlight ranges drift when the docs code blocks were auto-formatted
(the `import/order` blank line added in #42113, and the if/else collapse in
#38260), so the highlights now land one line off from the code they were
meant to call out. Update the ranges to point back at the originally
highlighted code without changing the code blocks themselves.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01A9enZ3jn8BveASiB5p9G1E

Co-authored-by: Claude <[email protected]>
The Playwright examples in automated-testing.md lost a line when their two
`require` statements were merged, leaving the highlights one line late, and
the code signing examples replaced a two-line certificate option with a
`windowsSign` object while keeping the old two-line ranges. Point the
highlights back at the intended code and cover the whole `windowsSign`
object.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01A9enZ3jn8BveASiB5p9G1E

Co-authored-by: Claude <[email protected]>
@trop trop Bot added 45-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Oct 19, 2026
@jkleinsc
jkleinsc merged commit 528eb6f into 45-x-y Oct 19, 2026
62 checks passed
@release-clerk

release-clerk Bot commented Oct 19, 2026

Copy link
Copy Markdown

No Release Notes

@jkleinsc
jkleinsc deleted the trop/45-x-y-bp-docs-fix-code-block-line-highlighting-after-docs-reformats-1792411215777 branch October 19, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

45-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant