Skip to content

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

Merged
dsanders11 merged 2 commits into
43-x-yfrom
trop/43-x-y-bp-docs-fix-code-block-line-highlighting-after-docs-reformats-1792411212447
Oct 20, 2026
Merged

dsanders11 merged 2 commits into
43-x-yfrom
trop/43-x-y-bp-docs-fix-code-block-line-highlighting-after-docs-reformats-1792411212447

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 43-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Oct 19, 2026
@dsanders11
dsanders11 enabled auto-merge (squash) October 19, 2026 23:23
@dsanders11
dsanders11 merged commit 9afe078 into 43-x-y Oct 20, 2026
61 checks passed
@dsanders11
dsanders11 deleted the trop/43-x-y-bp-docs-fix-code-block-line-highlighting-after-docs-reformats-1792411212447 branch October 20, 2026 00:16
@release-clerk

release-clerk Bot commented Oct 20, 2026

Copy link
Copy Markdown

No Release Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants