Skip to content

fix(web): hide the backslash of a Markdown escape in the live editor - #3

Merged
wayne930242 merged 1 commit into
corefrom
fix/live-escape
Sep 28, 2026
Merged

wayne930242 merged 1 commit into
corefrom
fix/live-escape

Conversation

@wayne930242

Copy link
Copy Markdown
Owner

The live editor hid emphasis, heading, code and quote marks off the cursor line but not the backslash of an escape, so \* showed as \* instead of *.

  • Hide the backslash of each Escape node while the cursor is off its line; the source shows again on the cursor line.
  • Escapes inside a formula were already dropped with the other marks inside it.

Tests: new escape.test.ts fails before the change and passes after. The full web suite has 4 failures (print KaTeX stylesheet, primary action consistency, two block-margin checks) that fail the same way on core without this change.

@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
my-gh-core Ignored Ignored Preview Sep 28, 2026 7:55am UTC
mygitnotes-gitlab-test Ignored Ignored Preview Sep 28, 2026 7:55am UTC

Request Review

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@wayne930242
wayne930242 merged commit e71d148 into core Sep 28, 2026
5 checks passed
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