Skip to content

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

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

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

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 44-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Oct 19, 2026
@dsanders11
dsanders11 merged commit 0ec830f into 44-x-y Oct 19, 2026
61 checks passed
@dsanders11
dsanders11 deleted the trop/44-x-y-bp-docs-fix-code-block-line-highlighting-after-docs-reformats-1792411211865 branch October 19, 2026 23:23
@release-clerk

release-clerk Bot commented Oct 19, 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

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

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant