A distraction-free Markdown editor for the Linux desktop.
Griffel shows your document as a centered column of plain Markdown with a live HTML preview, in-place markup highlighting, Focus and Hemingway writing modes, and one-click export to PDF, HTML and ODT through an external Pandoc converter.
- Centered, monospace writing column with adaptive font size
- Subtle in-place Markdown highlighting (bold, italics, code, links, headings, quotes, rules) without leaving the source
- Live preview beside, above, in place of, or in a separate window
- Focus Mode (current sentence lit) and Hemingway Mode (no deletions)
- Live statistics: characters, words, sentences, paragraphs, reading time
- Spell checking with per-file language memory
- Automatic crash-recovery snapshots and autosave
- Search & replace including regular expressions
- Export via Pandoc to PDF, HTML, ODT and many more formats
- Light, sepia, dark, or system appearance
Prebuilt packages are attached to each GitHub release:
- Debian / Ubuntu —
griffel_*.deb(install withsudo apt install ./griffel_*.deb) - Fedora / RHEL —
griffel-*.rpm(install withsudo dnf install ./griffel-*.rpm) - Arch / Manjaro — build from
packaging/arch/PKGBUILDwithmakepkg -si - Any distro —
griffel-*-x86_64.flatpak(install withflatpak install ./griffel-*.flatpak), or the standalonegriffel-*-linux-x86_64.tar.xztarball
Live preview and export need a pandoc executable on PATH; the app
degrades gracefully without it. Pandoc is intentionally not bundled
(it is GPL-licensed and must remain an external process).
- GTK 4 (≥ 4.10), libadwaita (≥ 1.4), GtkSourceView 5 (≥ 5.4, for spell checking), WebKitGTK 6.0
- A
pandocexecutable onPATHfor preview and export (the app degrades gracefully when it is missing) - Optional:
xelatex(LaTeX exports),typst(Typst PDF export), a LaTeX distribution for formula peek rendering
cargo build --releaseRun from the build tree:
cargo run -- [files…]Distribution packaging lives in debian/, packaging/fedora/,
packaging/arch/ and packaging/flatpak/. CI (.github/workflows/)
builds and tests every push and produces the deb, RPM, Flatpak bundle and
tarball on v* tags.
To cut a release, bump the version in Cargo.toml together with
data/io.github.hakergeniusz.Griffel.metainfo.xml, debian/changelog,
packaging/fedora/griffel.spec and packaging/arch/PKGBUILD, re-run
packaging/flatpak/generate-sources.py if dependencies changed, then tag
v<version> and push the tag.
Griffel is inspired by Apostrophe, the distraction-free Markdown editor for GNOME.
Contributions are welcome — but note that Griffel is developed clean-room
from the specification in docs/: contributors must declare that they have
never read Apostrophe's source code. See CONTRIBUTING.md
for the full policy.
MIT — see LICENSE.