# mdeditor **Repository Path**: txcgb111/mdeditor ## Basic Information - **Project Name**: mdeditor - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-27 - **Last Updated**: 2025-08-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
Social‑platform‑friendly Markdown Editor
> A modern Markdown editor designed for an exquisite writing experience and one-click HTML output tailored for WeChat Official Accounts and social platforms. Elegant UI, smooth interactions, WYSIWYG preview and copy — craft beautiful content efficiently. ## Introduction - What it is: A modern Markdown editor with refined aesthetics and powerful preview. It can convert Markdown to HTML optimized for WeChat/social platforms in one click (auto inline styles, font/line-height/letter-spacing tuning, theme-based beautification). - Why it exists: Pasting Markdown into WeChat/social editors often loses styling and looks inconsistent. This project provides a one-click copy flow to fix tedious formatting. - What makes it different: - Elegant UI and smooth UX (viewport switch, synced scrolling, theme preloading to avoid FOUC). - Adjustable color theme / code style / typography system / fonts, letter spacing and line height. - Compatibility strategies tailored for social editors with smart fallbacks. ## Preview ### One-click WeChat format  ### Split view: Edit + Preview  ### Preview viewport (Desktop / Tablet / Mobile)  ### Mermaid support  ### Settings panel (Theme / Code style / Font / Spacing)       ### Rich color themes -  ## Features - WYSIWYG preview - Real-time rendering with two-way synced scrolling between editor and preview. - One-click viewport switch: desktop / tablet / mobile. - One-click copy as WeChat/social HTML - Automatic inline styles (font family/size, line height, letter spacing, palette). - Themed adaptations and detail polish (headings, lists, quotes, code, tables, etc.). - Modern Clipboard API first with graceful fallback for broader compatibility. - Powerful theme and typography system - Color themes with live preview and persistence. - Code styles (background/font/highlight tokens applied in one place). - Typography system via CSS variables (layout, spacing, radius, shadows, etc.). - Adjustable reading experience - Font family, size, line height, letter spacing are all tunable in Settings. - Modern frontend architecture - Vue 3 + Vite 5 + CodeMirror 6. - Theme preload (avoid FOUC), debounced performance, caching, modular design. ## Tech Stack & Architecture - Core - Vue 3: SFC with