Skip to content

Bump remark-slate-transformer to 0.12.2 for inline code spaces - #6372

Draft
dylans wants to merge 1 commit into
mainfrom
rst-0.12.2
Draft

dylans wants to merge 1 commit into
mainfrom
rst-0.12.2

Conversation

@dylans

@dylans dylans commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator
  • remark-slate-transformer 0.12.2 keeps leading and trailing spaces inside inline code, and keeps code spans made only of spaces (Keep spaces inside inline code when writing mdast inokawa/remark-slate-transformer#237)
  • before, Markdown Sync wrote code a as `a` plus a plain space, so editing the Markdown side moved the space out of the code mark
  • added a playwright test that types a with the code mark on and checks the Markdown keeps the space inside the backticks

Draft until the lockfile is updated: yarn won't resolve 0.12.2 until it is a day old (published 2026-11-20 19:10 UTC).

Verification:

  • to do once the lockfile is in: new test on all playwright projects, the test fails on 0.12.1, and a hand drive in Chrome

- 0.12.2 keeps leading and trailing spaces inside inline code and keeps code spans made only of spaces
- Markdown Sync wrote `a ` as `a` plus a plain space, so editing the Markdown moved the space out of the code
@changeset-bot

changeset-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f4592dc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

This branch has not been deployed

No deployments
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