Skip to main content

Yamep

Yet Another Markdown Editor & Preview — a Qt desktop editor that keeps your notes as plain Markdown files in a folder you choose.

Nothing is stored in a database or a proprietary format, so the notes stay readable without Yamep and work with any file sync client (Nextcloud, Syncthing, or none at all).

Yamep with a note open and the preview beside it

Two variants

Yamep comes in two builds that share the same editor, file tree and themes, and differ in how the preview is rendered.

Yamep Yamep Lite
Preview QtWebEngine Qt's own rich text
Rendering fidelity full CSS, syntax highlighting simpler, but no browser engine
Images in the preview rendered inline shown as links that open a viewer
Installed size (Flatpak) 407 MB 117 MB
Flatpak bundle 119 MB 23 MB
Application ID io.github.itstomsh.yamep io.github.itstomsh.yamep.lite
Command yamep yamep-lite

Take Lite if you want a small, quick editor without a browser engine. Take the full build if you want images and the more faithful preview.

Features

  • Live preview next to the editor, vertically or side by side
  • Toolbar for headings, lists, tables, code blocks, links, images, task lists, footnotes, super- and subscript
  • File tree for the folder you are working in, which reopens the folders you had expanded
  • Tables, fenced code with syntax highlighting, task lists with checkboxes, footnotes, strikethrough and insert marks
  • Links to headings within a note, such as [Setup](#setup)
  • Copy button on every code block
  • Task lists you can tick in the preview: the checkbox edits the line it came from, as one undoable change
  • Scroll sync anchored to source lines, so an image or a large heading cannot push the two panes apart
  • Save As with Ctrl+Shift+S, or the arrow on the full build's Save button
  • Light, dark, blue, and a theme that follows the system
  • Opens a file given on the command line, so .md files can be opened with Yamep straight from a file manager; a name that does not exist yet becomes a new note on the first save

Notes that survive a sync client

Notes often live in a folder something else is writing to. Yamep handles that:

  • Saves are atomic. The text goes to a temporary file that is then renamed over the note, so a sync client never uploads a half-written file. File permissions, line endings and a byte order mark are kept, and a symlinked note stays a symlink. A hard-linked note, or one in a folder that only allows changing existing files, is written in place instead, because a rename cannot serve those.
  • Changes made on disk are noticed. If a note changes while it is open and you have no unsaved edits, it is reloaded; if you do have edits, Yamep asks which version to keep. Reloading is undoable.
  • A deleted note is not lost. If the file disappears while it is open, the text stays in the editor and the document is marked modified, so closing offers to save it again.

Notes from elsewhere

A note is treated as a document, not a program. The preview does not run scripts from a note, and links only open http, https, mailto and ordinary local files. Images are the exception: the full build loads remote images in the preview, so opening a note can tell their server that it was opened.

Screenshots

Yamep, blue theme Yamep, light theme
Yamep, blue theme Yamep, light theme
Yamep Lite, blue theme Yamep Lite, light theme
Yamep Lite, blue theme Yamep Lite, light theme

Install

Flatpak

Needs flatpak and flatpak-builder. The first build downloads the KDE runtime and the PySide base application, a few hundred megabytes.

git clone https://github.com/itstomsh/yamep.git
cd yamep
./build-flatpak.sh both --install
flatpak run io.github.itstomsh.yamep

./build-flatpak.sh takes full, lite or both, plus --install to install the result and --no-bundle to skip writing the .flatpak bundle. Each variant picks its own packaging metadata inside the build sandbox, so the two can be built in any order.

From source

Python 3.9 or newer, and PySide6, Markdown, pymdown-extensions, platformdirs and, for syntax highlighting in the full build, Pygments. With uv, which creates .venv from uv.lock on the first run:

git clone https://github.com/itstomsh/yamep.git
cd yamep
uv run ./run-full      # or: uv run ./run-lite

Without uv, install the packages above yourself and run ./run-full or ./run-lite. uv run ./build-full.sh and uv run ./build-lite.sh build the wheels with the build package from the dev dependency group.

To install the full variant and get the yamep command:

pip install .
yamep --setup-desktop     # optional: add a menu entry and icon

The Lite variant is built the same way after swapping in its packaging metadata, which ./build-lite.sh does for you (it needs the build package); the wheel lands in dist/.

Configuration

Settings live in ~/.config/yamep/ when Yamep runs from source, and under ~/.var/app/<application id>/config/yamep/ when it runs as a Flatpak. Each variant keeps its own file, so the two do not fight over window size or theme.

Development

yamep/core/     shared code: config, file safety, Markdown extensions, line anchors
yamep/full/     the QtWebEngine variant
yamep/lite/     the Qt rich text variant
flatpak/        Flatpak manifests, desktop entries, AppStream metadata, icons

build-full.sh and build-lite.sh build a wheel and an sdist for one variant each, into dist/.

uv run pytest runs the tests. They need no display: they use Qt's offscreen platform and a temporary config folder, and drive a real QtWebEngine page.

This project was developed with assistance from AI tools, including Claude (Anthropic), for parts of the code, bug fixing and packaging.

License

GPL-3.0-or-later. See LICENSE.

The toolbar icons are Google's Material Symbols, used unmodified under the Apache License 2.0; its text is in LICENSES/Apache-2.0.txt.

Licensing is declared per file following the REUSE specification, so reuse lint can check it.

Metadata

Release files for yamep 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yamep 2.1.1
File Size Uploaded Provenance Actions
yamep-2.1.1.tar.gz 176.4 kB With provenance Details for yamep-2.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yamep 2.1.1
File Interpreter ABI Platform Actions
yamep-2.1.1-py3-none-any.whl Python 3 none any Details for yamep-2.1.1-py3-none-any.whl

Total release size: 381.7 kB

Release files / yamep-2.1.1.tar.gz

Download URL yamep-2.1.1.tar.gz
Size 176.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3b6e93840410abe1ccf4e08d79d0d516d0f7d0475248a50e362937469cf09c62
BLAKE2b-256 checksum
How to use checksums
29ffd12b1540221280a1acd4b16758fb0b36bd4cbef1c9e693c80d51b817f4c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / yamep-2.1.1-py3-none-any.whl

Download URL yamep-2.1.1-py3-none-any.whl
Size 205.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17d054c613c2a3df1ef542f7236355b0cbdc42d144776344eccdf83955caa254
BLAKE2b-256 checksum
How to use checksums
7d4167381024c95465579bcbca8e86c4ef24cd558ffd9984e5f6e8602c8b89f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for yamep 2.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for yamep-2.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page