Skip to main content

Standalone markdown editor with live preview and image support

Project description

zenmarked

A snappy offline-first markdown editor with live preview, CodeMirror syntax highlighting, and drag-and-drop image support. It runs as a local web server, you access it in your browser.

Usage

Screenshot of ZenMarked

ZenMarked being used to update its own README

uv run zenmarked [FILE.md] [options]
Argument Description
FILE.md Optional. File to open on start (created if it doesn't exist). Its directory becomes the working directory.
Option Description
--port PORT Port to listen on (default: 5055)
--image-dir PATH Directory for uploaded images (default: images/ inside working dir)
--no-autosave Disable auto-save (use Ctrl+S only)
--theme THEME Color theme: light or dark (default: dark)
--no-browser Don't auto-open browser on start

Examples

# Open CWD — sidebar shows all .md files, create/edit freely
uv run zenmarked

# Open a specific file
uv run zenmarked notes.md

# Light theme, custom port
uv run zenmarked journal.md --theme light --port 8080

# Custom image directory, no autosave
uv run zenmarked docs/readme.md --image-dir docs/assets/imgs --no-autosave

Features

  • 3-column layout: sidebar (file list + image gallery) + editor + live preview
  • Markdown syntax highlight via CodeMirror
  • Live preview via marked.js, updates as you type
  • Auto-save enabled by default, Ctrl+S to save manually at any time
  • Image support: drag-and-drop, click drop zone, or paste from clipboard
  • Image insertion modal: alt text, caption, alignment, custom width
  • Click image in preview to edit its properties
  • Rename image right-click image in the gallery to rename it
    • references are updated automatically across all .md files in the working dir
  • Smart URL paste: select text in editor, paste a URL → auto-creates a markdown link
  • Light / Dark themes

Image paths

Images are stored in ./images/ (relative to the working directory) by default, and inserted into markdown as ./images/filename.png.

The image target directory can be overriden through option --image-dir PATH

Keyboard shortcuts

Shortcut Action
Ctrl+S Save current file
Alt+N Create new file
Escape Close modals

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zenmarked-0.1.2.tar.gz (759.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zenmarked-0.1.2-py3-none-any.whl (761.8 kB view details)

Uploaded Python 3

File details

Details for the file zenmarked-0.1.2.tar.gz.

File metadata

  • Download URL: zenmarked-0.1.2.tar.gz
  • Upload date:
  • Size: 759.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for zenmarked-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b63fe7fa01fdebffcab5f6f9dfa9ea039ee9ef0210265af3c8b549cd700b9ac0
MD5 0041dd7df3108c6f43341e43d81f605b
BLAKE2b-256 576a09ab89d4cbfa2ea550c05c98aad6d53fae5053c7ca287c0b397b12e69f1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for zenmarked-0.1.2.tar.gz:

Publisher: publish.yml on eliasdorneles/zenmarked

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zenmarked-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: zenmarked-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 761.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for zenmarked-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 728f0d5922cb1f9599c593dadd353e9d9c618c29e368b1dd69ec61839847e216
MD5 577ca31a1b4141bc5605618dce47e2c1
BLAKE2b-256 f68eed63abfadca9ebd5b985e76f5756e7d2b7f71d91ea89356441e84fd4dc7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for zenmarked-0.1.2-py3-none-any.whl:

Publisher: publish.yml on eliasdorneles/zenmarked

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page