Skip to content

fix(core): disable GFM single-tilde strikethrough#123

Open
flore2003 wants to merge 1 commit into
mainfrom
fix/single-tilde-strikethrough
Open

fix(core): disable GFM single-tilde strikethrough#123
flore2003 wants to merge 1 commit into
mainfrom
fix/single-tilde-strikethrough

Conversation

@flore2003

Copy link
Copy Markdown
Member

Summary

  • Set singleTilde: false on remark-gfm in the core markdown pipeline and assistant UI so only ~~text~~ renders as strikethrough
  • GFM defaults to accepting ~text~ as delete markers; Obsidian uses single tildes for subscript instead
  • Add a regression test covering double-tilde strikethrough vs literal single tildes

Test plan

  • npm run release:check
  • New test: only treats double tildes as strikethrough

Obsidian uses ~~text~~ for strikethrough and ~text~ for subscript.
GFM defaults to accepting single tildes as delete markers.
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jun 22, 2026 6:16pm

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