Skip to content

feat(editor): explain and auto-fix Markdown errors - #234

Open
m1ngsama wants to merge 1 commit into
mainfrom
feat/markdown-fix-help
Open

m1ngsama wants to merge 1 commit into
mainfrom
feat/markdown-fix-help

Conversation

@m1ngsama

Copy link
Copy Markdown
Member

New members see a rule ID and a short message when a Markdown check fails, but not what to change.

Each reported problem now shows a Chinese sentence describing how to fix it, both in the issue list and under the affected line. Problems that markdownlint can fix on its own get an "自动修复" button, and the list header has one button that applies all of them through applyFixes. Each fix is a normal editor change, so Ctrl+Z undoes it. Every markdownlint problem also links to the official rule page for the installed version.

MD011, MD014, and MD059 are enabled by default in markdownlint 0.38 but had no Chinese message; they now have one.

@m1ngsama
m1ngsama requested a review from sheepkinn as a code owner November 26, 2026 13:07
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying documents with  Cloudflare Pages  Cloudflare Pages

Latest commit: c8a7dc6
Status: ✅  Deploy successful!
Preview URL: https://bc0a3cc4.documents-dq4.pages.dev
Branch Preview URL: https://feat-markdown-fix-help.documents-dq4.pages.dev

View logs

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