Introduction
Welcome to the Moraya documentation. Moraya is a minimal, open-source WYSIWYG Markdown editor built with Rust + Tauri v2.
The name combines mora (Latin, “a moment”) and ya (Chinese, “elegance”). Unlike traditional Markdown editors with split “edit” and “preview” panes, Moraya renders your Markdown inline as you type — inspired by Typora’s seamless editing experience.
Key Features
- Instant WYSIWYG — Type Markdown, see rendered output immediately. No preview pane needed.
- Three editor modes — Visual, Source, and Split view (
Cmd+/to toggle) - Math support — KaTeX rendering for inline and block LaTeX equations
- GFM tables — GitHub Flavored Markdown tables with a floating toolbar
- AI integration — Built-in support for Claude, OpenAI, Gemini, DeepSeek, and Ollama
- MCP protocol — stdio, SSE, and HTTP transports for tool integration
- Tiny footprint — ~3MB DMG installer. No Electron.
- Native experience — Frameless window with native menus and keyboard shortcuts
- i18n — English and Simplified Chinese, with “Follow System” auto-detection
- Themes — Light and Dark mode with system preference detection
Tech Stack
| Layer | Technology |
|---|---|
| Runtime | Tauri v2 (>=2.9) |
| Backend | Rust 2021 edition |
| Frontend | Svelte 5 (runes mode) |
| Meta Framework | SvelteKit (SPA via adapter-static) |
| Editor Engine | Milkdown v7 (ProseMirror-based) |
| Math | KaTeX |
| Build Tool | Vite 6 |
| Package Manager | pnpm 10.x |
License
Moraya is released under the Apache License 2.0. Free to use, modify, and distribute.