📈 GH Trending Explorer 🎲 Surprise me

← all repos

rcawston / Malgel

git clone https://github.com/rcawston/Malgel.git v0.1.1 · 13d ago

A fast, native Markdown editor

+-5
stars, 24h · #62,226
+~-9
stars, 7 days · #61,564
+88
stars, 30 days · #8,077
88
★ total · -9% this week
0
forks · 3 open issues

Star history (as recorded here)

2026-10-20 · 92 ★ 2026-10-23 · 88 ★
LanguageRust
LicenseApache-2.0
Created2026-09-28 (24d ago)
Last push13d ago
Watchers0
OwnerUser

Links

README excerpt
# Malgel
A fast, native Markdown editor and previewer written in pure Rust with
GPUI Kit (GPUI + GPUI Component).
www.malgel.com
## Features
- **Editor and preview side by side.** A syntax-highlighted Markdown editor
 (tree-sitter) with line numbers, soft wrap, multi-cursor editing,
 find & replace and undo history, next to a live GitHub-flavored preview.
- **Two-way scroll sync.** Scroll or type in the editor and the preview
 stays on the same block; scroll the preview and the editor follows to the
 matching source line. Whichever pane you are pointing at or typing in
 leads, so the two never fight.
- **Three layouts.** Editor only, editor and preview, or preview only
 (Ctrl+1/2/3). Single-pane layouts center a comfortable reading column.
- **Rich preview.** Tables, task lists, strikethrough, fenced code with
 highlighting for 28 languages and a copy button, YAML front matter shown as
 a property list, local images (relative to the document), remote images
 and `data:` URLs.
- **GitHub alerts.** `> [!NOTE]`, `[!TIP]`, `[!IMPORTANT]`, `[!WARNING]` and
 `[!CAUTION]` render as themed callouts.
- **Math.** LaTeX formulas, inline (`$…$`) and display (`$$…$$`), are
 typeset in pure Rust: LaTeX is translated to Typst math and laid out by the
 Typst compiler with its bundled New Computer Modern Math font. Formulas sit
 on the text baseline, follow the theme's text color, render on a background
 thread and are cached. Prices like "$5 and $10" stay text.
- **Mermaid diagrams.** A code block fenced as `mermaid` becomes a diagram —
 flowcharts, sequence, class, state and ER diagrams, Gantt charts, pies,
 mindmaps, git graphs, timelines, journeys and more — drawn in pure Rust by
 merman, with no browser or
 JavaScript. Diagrams take their colors from the current theme, render in
 the background in a few milliseconds, and a mistake shows the parser's
 message under the source instead of a blank. Click a diagram to open it in
 a window of its own: scroll or pinch to zoom, drag to move around,
 double-click to zoom in, and 0 to fit it to the window. Zoomed in, the part
 in view is drawn again at that size, so even small labels stay crisp.
- **Links that go somewhere.** Click a link in the preview to follow it. Links
 to headings (`#getting-started`) scroll to them; links to other Markdown
 files open them in Malgel, at the heading they name, in a new tab or in
 place of the current document (a setting; Ctrl-click does the other).
 Web links open in your browser after showing where they lead, and other
 files open in their own apps once you agree.
- **Formatting commands.** Bold, italic, strikethrough, inline code, links,
 headings, quotes, bulleted/numbered/task lists and code blocks — each
 toggles, and works on the selection or the word under the caret.
- **Structure that follows the keyboard.** Enter continues a list item, task
 or quote, and ends the list on an empty item; Tab and Shift+Tab nest and
 un-nest items with their children; numbered lists renumbe