Skip to main content

Getting Started

ToastWrite is a modern GFM Markdown editor and viewer for the web. It is a fresh rewrite of TOAST UI Editor with a clean architecture, Node 22+ support, and packages published under the @toastwrite scope.

What you get

  • Editor — Markdown editing with live preview, toolbar commands, and syntax highlighting
  • Viewer — Read-only rendering of the same Markdown output
  • Parser — Incremental CommonMark/GFM parser (@toastwrite/parser) powering preview and export
GoalGuide
Run the editor repo locallyRun locally
Install the npm packageInstallation
Use Editor and Viewer in your appUsage
Supported Markdown syntaxMarkdown Syntax

Packages

PackageDescription
@toastwrite/editorCore editor and viewer
@toastwrite/parserCommonMark/GFM markdown parser

The editor is currently at 1.0.0-alpha.1. Plugin and framework wrappers (React, Vue) are planned for later releases.

Architecture

Editor (facade)
├── EditorContext (shared state)
│ ├── ContentService → ToastMark
│ ├── PreviewService → Renderer + DOMPurify
│ └── EventBus (typed pub/sub)
├── MarkdownMode
├── PluginManager
└── Layout UI

Next steps

  1. Check Prerequisites for Node and package manager versions.
  2. Follow Run locally to start the demo app.
  3. Read Installation and Usage to embed the editor in your project.