Profile
Back to NewsBack
GitHub Trending 3 min
Reader Mode
Tencent/cherry-markdown: ✨ A Markdown Editor

Tencent/cherry-markdown: ✨ A Markdown Editor

11 hours ago

cherry logo

Cherry Markdown Writer

cnb 云原生开发</a> Cloud Studio Template</a>

English | 简体中文

Introduction

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

Demos

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.
  • Rich editing experience — Multi-cursor editing, floating & bubble toolbars, floating TOC, input autocomplete, VIM mode, shortcut key customization, and theme switching.
  • 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 Chat with me