Là một dự án frontend, Tencent/cherry-markdown đã đạt 4.8k sao trên GitHub, ngôn ngữ JavaScript. ✨ A Markdown Editor
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Cherry Markdown Writer is a JavaScript Markdown editor. It has the advantages such as out-of-the-box, lightweight and easy to extend. It can run in browser or server(with Node.js).
Document
Getting Started with Cherry Markdown Editor
hello world
Configuring Image & File Upload Interfaces
Adjusting the Toolbar
Comprehensive Configuration Options
Custom Syntax
Configuring Themes
Extending Code Block Syntax
Events & Callbacks
Build Artifacts (Full / Core / Stream / Engine)
API
Demos
Full Mode
Basic
Mobile
Multiple Instances
Editor Without Toolbar
Pure Preview
XSS (Disabled by default; requires configuration to enable XSS)
IMG WYSIWYG
Table WYSIWYG
Headers with Auto Num
Streaming rendering Mode (AI chat scenario)
Streaming Mode - Lazy Loading Plugins
VIM Editing Mode
Utilize Your Own Mermaid.js
Custom Code Block Wrapper
Features
Out-of-the-box — Instantiate with a single call; most common Markdown syntax (headings, TOC, flowcharts, formulas, etc.) works by default.
Easy to extend — Pure JavaScript implementation, no framework dependency (Angular/Vue/React only serve as container environments). Custom syntax, toolbar buttons and themes are all supported.
Streaming rendering — Purpose-built for AI Chat scenarios. Auto-completes unfinished Markdown fragments during token streaming to prevent raw source flashing.
Powerful diagrams & media — Mermaid diagrams (with drag-to-resize and alignment), math formulas, table-to-chart, image resize & alignment, audio/video embedding.
Export & interoperability — Paste from rich text as Markdown, export to Image / PDF, WYSIWYG editing for images and tables.
High performance & secure — Partial rendering & partial update; built-in whitelist filtering and DomPurify to prevent XSS.
For a visual walkthrough, see the demo.
Downloads
Desktop Client
Cherry Markdown ships a cross-platform desktop client (built with Tauri) for Windows, macOS and Linux. It supports opening / editing local .md / .markdown / .txt files with the same editing experience as the web version.
👉 Download the latest release
VSCode Extension
Prefer editing Markdown right inside VSCode? Cherry Markdown also provides an official VSCode extension with the same rich editing & preview experience.
👉 Install from VSCode Marketplace
Install as a package
Via yarn
yarn add cherry-markdown
Via npm
npm install cherry-markdown --save
CDN usage
Use the UMD artifact for a regular <script> tag, and pin the package version:
The UMD artifact exposes the global Cherry variable. For native ESM:
<script type="module">
import Cherry from 'https://cdn.jsdelivr.net/npm/[email protected]/dist/cherry-markdown.esm.js';
const cherry = new Cherry({ id: 'markdown-container' });
</script>
Cherry provides multiple build artifacts (Full / Core / Stream / Engine) to fit different scenarios such as browser, Node.js, and AI Chat streaming. For usage examples, bundle differences, mermaid integration and dynamic import, please refer to Build Artifacts Guide.
Contribution Guidelines
Welcome to join us in building a powerful Markdown editor. Before implementing new features or submitting a pull request, please read:
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/Tencent/cherry-markdown là nguồn chính thức.
Tencent/cherry-markdown có những chủ đề gì?
GitHub topics của Tencent/cherry-markdown: "editor", "javascript", "markdown". TopGit xếp repo vào nhóm Frontend.
Tencent/cherry-markdown có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho Tencent/cherry-markdown. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
Tencent/cherry-markdown có trang demo không?
Dự án có trang chủ ở https://github.com/Tencent/cherry-markdown/wiki. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
Tencent/cherry-markdown còn đang phát triển không?
Commit gần nhất trên Tencent/cherry-markdown là 8 ngày trước (theo timestamp GitHub). Repo có 563 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về cherry-markdown?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về cherry-markdown.