Repository navigation
chore: fix lint:js-in-markdown script - #38260
Merged
Merged
Conversation
dsanders11
marked this pull request as draft
May 11, 2023 16:40
dsanders11
force-pushed
the
electron-standard-markdown
branch
from
May 11, 2023 16:46
5cc6cc9 to
92c5f2c
Compare
dsanders11
force-pushed
the
electron-standard-markdown
branch
from
May 11, 2023 17:27
92c5f2c to
acf68ff
Compare
dsanders11
marked this pull request as ready for review
May 11, 2023 17:42
codebytere
approved these changes
May 12, 2023
|
No Release Notes |
Contributor
|
I was unable to backport this PR to "24-x-y" cleanly; |
Contributor
|
I was unable to backport this PR to "25-x-y" cleanly; |
dsanders11
added a commit
to dsanders11/electron
that referenced
this pull request
May 15, 2023
Contributor
|
@dsanders11 has manually backported this PR to "25-x-y", please check out #38300 |
jkleinsc
pushed a commit
that referenced
this pull request
May 15, 2023
chore: fix lint:js-in-markdown script (#38260)
Contributor
|
@dsanders11 has manually backported this PR to "24-x-y", please check out #38334 |
2 tasks done
jkleinsc
pushed a commit
that referenced
this pull request
Oct 19, 2026
* docs: fix code block line highlighting after lint reformats 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 * docs: fix code block line highlighting that drifted from content edits 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]>
jkleinsc
pushed a commit
that referenced
this pull request
Oct 19, 2026
* docs: fix code block line highlighting after lint reformats 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]> * docs: fix code block line highlighting that drifted from content edits 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]> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Claude <[email protected]>
dsanders11
pushed a commit
that referenced
this pull request
Oct 19, 2026
* docs: fix code block line highlighting after lint reformats 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]> * docs: fix code block line highlighting that drifted from content edits 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]> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Claude <[email protected]>
dsanders11
pushed a commit
that referenced
this pull request
Oct 19, 2026
* docs: fix code block line highlighting after lint reformats 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]> * docs: fix code block line highlighting that drifted from content edits 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]> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Claude <[email protected]>
dsanders11
pushed a commit
that referenced
this pull request
Oct 20, 2026
* docs: fix code block line highlighting after lint reformats 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]> * docs: fix code block line highlighting that drifted from content edits 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]> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
Closes #38024. Also fixes a couple of rendering bugs on the website docs due to
```JavaScriptnot being recognized.Checklist
Release Notes
Notes: none