Bump compatible releases, including wrangler 4.151.2, CodeMirror view 6.43.15, and typescript-eslint 8.72.0. Retarget the CodeMirror view patch and raise undici to 8.12.3 now that the HTTP/2 content-encoding regression is fixed.
Raise flowchart wrappingWidth to 300 so a typical bilingual line fits, and patch Mermaid so wider html labels wrap on fractional device pixel ratios instead of being clipped.
Closes#1989
Upgrade pnpm to 12.6.0 and refresh direct packages, including VueUse 15,
Mermaid 12, and juice 12.2.0. Keep Prettier 2.8.8, TypeScript 6.0.3, and
the wrangler 4.134.0 preview-deploy pin.
Refresh catalog entries (@cloudflare/workers-types, wrangler, zod), the
tinyexec override, and direct deps across web, vscode, and md-cli, then
refresh transitive deps via `pnpm update -r` and `pnpm dedupe`.
Keep typescript at ~6.0.3 because @typescript-eslint 8.68.0 declares a
`typescript >=4.8.4 <6.1.0` peer range, so TS 7 would break lint.
Also drop the stale front-matter patch entry from AGENTS.md; that patch
was removed when front-matter was replaced.
Adds an inline extension turning 🚀 into an emoji character, so documents written on GitHub, Obsidian or Typora keep rendering the same glyphs instead of leaking raw shortcodes into the article.
The shortcode table is bundled in-repo rather than pulled from a dependency. The established emoji packages either carry several transitive dependencies or have negligible download counts, neither of which suits a widely used editor. The table is curated (515 entries) instead of the full ~1900-entry Unicode set, which would otherwise land in the deferred renderer chunk for a feature most articles use a handful of times.
Only names present in the table are consumed, so incidental colon pairs like 'ratio 3:4:5' and unknown names stay literal rather than disappearing. Emoji are emitted as bare characters with no wrapper element, leaving nothing for WeChat's sanitizer to strip and no theme CSS to keep in sync.
Drop the pinia exports types patch after verifying vue-tsc works without it, and bump wrangler, Cloudflare Vite plugin, AWS SDK, and CodeMirror markdown.
Move cross-package toolchain versions into a workspace catalog, declare
CodeMirror where it is imported, unify typescript-eslint via overrides,
and run pnpm dedupe to shrink the lockfile.
Translate valuable Chinese comments and remove noise that only restates the next line. Document the English-comment convention in AGENTS.md and CONTRIBUTING.md. Leave i18n and user-facing strings unchanged.
Bump direct dependencies including @codemirror/view, eslint, es-toolkit, reka-ui, @lucide/vue, @cloudflare/workers-types, vite-plugin-vue-devtools, webpack, and webpack-cli.
Migrate @codemirror/view patch from 6.43.3 to 6.43.4 and refresh transitive dependencies in the lockfile.
Expand marker defs into inline arrow graphics and set explicit pixel dimensions capped at the article column width so diagrams no longer render oversized in the WeChat editor.
Document SVG AttributeName whitelist, bubbling-group interaction rules, and static diagram paste compatibility guidance as a reusable agent skill.
Add vue-i18n for zh-CN and en-US across the web app UI including editor, AI tools, dialogs, and stores. Introduce preferences dialog with locale cloud sync, localized built-in components and style options, boot screen language detection, and remove deprecated isEditOnLeft setting.
- Flush editor content to post store before IndexedDB save on pagehide
- Await document persistence after cloud sync before updating lastSyncAt
- Sync editor when remote posts update without changing post index
- Consolidate static assets under apps/web/public; remove duplicate root public/
- Move wechat-openapi-worker example to docs/examples
- Silence Pinia devtools logs in dev; gate vite vue-devtools behind env var
- Update AGENTS.md and docs/architecture.md
Introduce shared md-api account layer decoupled from sync, split account and sync dialogs in the footer, restrict free tier to manual sync, and enable account/sync UI in production builds.
Introduce Cloudflare Workers sync service and web client for cross-device document and settings sync. Footer icon reflects synced, pending, syncing, and error states. Image hosting and AI keys remain local.
Add font, legend, heading styles, code block theme, and custom CSS parameters to render_markdown for parity with the web editor. Extract config-options and render-article modules, add style discovery tools, fix double container wrapping, and ship .cursor/mcp.json for Cursor IDE integration.
Add typed custom tokens and renderer adapters compatible with marked's
Tokens.Generic API. Introduce FrontMatterData and sync AGENTS.md plus
mcp-server README with current implementation.
Co-authored-by: Cursor <cursoragent@cursor.com>