qmetrics.net

React Md Editor

React markdown editor with live preview and syntax highlighting

React Md Editor screenshot

A React and TypeScript component for editing Markdown with an inline preview and code highlighting. It wraps a textarea instead of binding to Monaco or CodeMirror.

Overview

React Md Editor is a UI component for apps that need users to write or edit Markdown in the browser. It shows the source in an editable area alongside preview rendering, with syntax highlighting for fenced code blocks.

The implementation uses textarea encapsulation, so it does not depend on large in-browser code editors. It supports GitHub-flavored Markdown, tab indentation, automatic lists on new lines, line duplication and movement shortcuts, and optional dark mode. You can run it in full editor mode or use exposed utilities for a headless setup with your own chrome.

Toolbar and preview behavior are configurable through commands, extra commands, and custom components. Optional builds reduce bundle size by dropping or narrowing syntax-highlight language packs. Preview can be extended for KaTeX math and Mermaid diagrams. Documentation covers Next.js App Router usage, placeholder and max length, height resize, and sanitization guidance when authors are not fully trusted.

Compared with editors built on Ace, CodeMirror, or Monaco, this package stays lighter by staying on a textarea core while still offering a full preview pipeline.

Key features

  • Textarea-based editor without Monaco or CodeMirror
  • Live Markdown preview with syntax highlighting
  • GitHub-flavored Markdown support
  • Customizable toolbar commands
  • Headless mode utilities
  • Dark mode support
  • Optional KaTeX and Mermaid preview
  • Next.js integration examples

Use cases

  • In-app Markdown authoring in React apps
  • CMS or admin panels with rich text in Markdown
  • Documentation or note editors in the browser
  • Comment or readme editors with preview

Tags

Similar software

Theia IDE

Extensible cloud and desktop IDE framework

Eclipse Theia is a modular platform for building multi-language IDEs that run in the browser or as desktop apps. It supports the VS Code extension protocol and includes Theia AI for agent-style tooling.

★ 21.8k⟳ todayEPL-2.0

Language Tools

High-performance Vue language tooling on Volar.js

A Vue language toolset for editors and CLI type-checking, built on Volar.js with TypeScript-oriented performance.

★ 6.8k⟳ 7 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Cherry Markdown

Extensible JavaScript Markdown editor and preview

Cherry Markdown is a JavaScript Markdown editor that runs in the browser or on Node.js. It supports rich editing, diagrams, streaming render for chat UIs, and optional desktop or VS Code packaging.

★ 4.9k⟳ 4 days agoApache-2.0
Frameworks & PlatformsDesktop/CLI app

Template Studio

Visual Studio wizard for WinUI, WPF, and UWP apps

Template Studio is a set of Visual Studio extensions that scaffold WinUI 3, WPF, and UWP applications through a step-by-step wizard.

★ 2.8k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

JetBrains MPS

Domain-specific language design and development environment

JetBrains MPS is a Meta Programming System for creating domain-specific languages with editors, type checking, and generators. Ready-to-use builds are available as installable packages.

★ 1.7k⟳ todayApache-2.0
Frameworks & PlatformsDesktop/CLI app

Pharo

Reflective pure object-oriented live programming environment

Pharo is a dynamic object-oriented language and integrated environment focused on immediate feedback, live coding, and immersive debugging.

★ 1.5k⟳ todayMIT · open core
Frameworks & PlatformsDesktop/CLI app