Katemark is a plugin for Kate, the KDE text editor. It shows the Markdown document you are editing as GitHub would, in a panel beside the editor that follows what you type and scrolls with it. The renderer, the styles and the fonts ship with the plugin, so it works offline.
This is a fork of Katdown by uwuclxdy, which shows the preview in a tab of its own.
| CodiMD, Obsidian and MkDocs blocks | The same document with "GitHub only" | The colors of the editor theme |
|---|---|---|
![]() |
![]() |
![]() |
| Feature | What it does | From |
|---|---|---|
| GitHub rendering | Headings, tables, task lists, alerts and highlighted code look as they do on github.com | original |
| Two styles | GitHub's colors (light or dark) or the colors of your Kate theme | original |
| Front matter | Shows a YAML header as a table | original |
| Offline | No network request, unless you allow pictures from the web | original |
| Side panel | Docks the preview beside the editor and re-renders it as you type | fork |
| Scroll sync | Scrolling the editor or the preview brings the other to the same place | fork |
| More syntax | markdown-it extensions, CodiMD, Obsidian and MkDocs | fork |
| GitHub only | A check box above the preview leaves out what GitHub would not render | fork |
| Math | LaTeX formulas, rendered by KaTeX | fork |
| Diagrams | Mermaid | fork |
| Export | A PDF, its pages numbered when it has more than one (Qt 6.10 or later), or a single self-contained HTML file | fork |
| Editing actions | Bold, italic, strikethrough, heading level, paste as link, table formatting | fork |
| Image paste | Saves a picture from the clipboard beside the document and links it | fork |
| Languages | 44 interface languages | fork |
| Your system | What to do |
|---|---|
| KDE neon | Install the package katemark_<version>_neon_amd64.deb |
| Kubuntu 26.04 | Install the package katemark_<version>_ubuntu26.04_amd64.deb |
| Windows | Install the zip katemark-<version>-windows-x86_64.zip |
| Arch Linux | Install from the AUR katemark-git |
| openSUSE Tumbleweed, Leap 16.0 | Install from KDE:Extra katemark |
| Another Debian or Ubuntu release | Build the package with build.sh |
| Any other Linux | Build from source |
| Kubuntu 24.04 | Not possible: its Kate still uses KDE Frameworks 5 |
Kate has to be a KDE Frameworks 6 build, with Qt 6.5 or later. If you installed Katemark from source before, uninstall it first.
- Enable the plugin: Settings > Configure Kate > Plugins, check Katemark, click OK.
- Open a Markdown document: a file ending in
.md,.markdownor.mkd. A document whose highlighting mode is Markdown counts too. For a Mermaid file (.mmd,.mermaid), the preview draws its diagram. - Press Ctrl+Shift+M. The preview opens on the right of the editor.
The documents in examples/ show what the preview renders:
github.md, codimd.md, obsidian.md, mkdocs.md, teaching.md and
mermaid.mmd.
| File | Contents |
|---|---|
| docs/install.md | Each package in detail, building from source, uninstalling |
| docs/usage.md | The preview, the editing shortcuts, the settings, troubleshooting |
| docs/syntax.md | The Markdown syntax the preview renders |
.github/CONTRIBUTING.md covers running the
plugin without installing it, the tests, the translations, the layout of the
sources and how the preview works.
No native speaker has reviewed the translations, French apart: corrections are welcome.
Author of this fork: Olivier Booklage (olivier.booklage@ac-bordeaux.fr).
Original project: Katdown by uwuclxdy (GPL-3.0-or-later).
Matija Šuklje maintains the Arch Linux package.
Olivier Belleux (Wolfheri) made the openSUSE package and Christophe Marin
added it to KDE:Extra.
THIRD-PARTY-NOTICES.md lists the bundled libraries and their licenses.
GPL-3.0-or-later. See LICENSE.



