DEV Community

Cover image for AutumnMark: A Single-File Open-Source Markdown Editor with Embedded Images, Tabs & Smart Code Blocks
Autumn-one
Autumn-one

Posted on

AutumnMark: A Single-File Open-Source Markdown Editor with Embedded Images, Tabs & Smart Code Blocks

If you write technical notes, guides, or design docs in Markdown, you have probably run into two recurring frustrations:

  1. Image management friction — setting up an image host, worrying about expired links, or dragging around fragile assets/ folders that break the moment you share a .md file.
  2. Vendor lock-in from rich extensions — wanting content tabs, collapsible notes, or nicer code blocks, only to end up with proprietary syntax that turns into a mess in every other editor.

I built AutumnMark (MIT-licensed, cross-platform for Windows, macOS Apple Silicon, and Linux) to solve both without giving up plain-text portability.

AutumnMark Pine Ink theme showing Content Tabs, an embedded image, a fold block, and the AI sidebar


1. Zero-Image-Host Single-File Embedded Images

Paste a screenshot, drop a local image, or paste a web image, and AutumnMark embeds it straight into your .md file by default so the document stays completely self-contained and readable offline.

A common question is file size: for normal documentation screenshots and compressed images, converting them to Base64 does not add much practical storage overhead — especially compared to the convenience of never losing an image when moving or sharing a note. And AutumnMark keeps the editing experience clean:

  • Collapsed source chips: in source mode, embedded images fold into a compact data:image/webp;base64, ... chip instead of flooding your screen with raw text.
  • Drag-to-resize directly in the editor.
  • Fully reversible: right-click any embedded image anytime to convert it back into a standard local image file if you prefer external assets for a Git repository.

Source view showing collapsed Base64 image chip and clean HTML-comment syntax


2. Gracefully Degrading Extended Syntax (Especially Content Tabs)

Many note apps invent custom directives for rich blocks. AutumnMark takes the opposite approach: every extended block is built on standard Markdown headings, HTML comments, and fenced code blocks, so opening the same .md in GitHub, VS Code, Obsidian, or Typora never breaks layout or hides your text.

Content Tabs (/tabs)

Great for multi-platform setup guides (macOS / Windows / Linux), step-by-step notes, or side-by-side comparisons. Type /tabs or write plain Markdown where headings starting with | become tab labels:

<!-- tabs -->

#### | macOS

Install via the Apple Silicon release from GitHub.

#### | Windows

Use the x64 installer or portable ZIP/7z package.

<!-- /tabs -->
Enter fullscreen mode Exit fullscreen mode

In AutumnMark, it renders as an interactive tab bar with a + button to add tabs. In any other Markdown viewer, it degrades cleanly into normal sequential headings with zero content loss.

Fold Blocks (/fold)

Wrap supplementary details between <!-- fold --> and <!-- /fold --> (or <!-- fold open --> to start expanded). Readers can toggle them in AutumnMark and exported HTML, while other editors simply ignore the HTML comments and display the heading and body in order.

Feature In AutumnMark In Other Markdown Editors
Embedded Images Embedded in a single file, collapsed source chips, drag-to-resize Renders offline wherever data: URLs are supported; right-click to extract to local files
Content Tabs Interactive tab switcher Standard sequential headings (`#### \
Fold Blocks Collapsible disclosure block (also interactive in HTML export) Comments stay hidden; headings and text remain readable in order
Enhanced Code Blocks Centered title, line highlights, drag-resizable saved height Standard fenced code block with syntax highlighting intact
Embedded Drawings Built-in Excalidraw live editing inside the {% raw %}.md file Standard image syntax keeping document structure clean

3. Thoughtful Code Block & Table Enhancements

Small ergonomic details matter when you live in a Markdown editor every day:

  • Enhanced Code Blocks with Drag-Resizable Persistent Height: Add title="filename", {2-4} to highlight specific lines, and max-lines=5 to keep long snippets tidy. Even better, you can simply drag the bottom edge of any code block to adjust how many lines are visible — AutumnMark saves that height directly into the fence metadata (max-lines=...) so it remembers your preferred preview height next time you open the file, while letting readers expand/collapse with one click.
  • Better Tables: Drag to resize column widths and sort table columns directly inside the editor instead of fighting raw pipe characters.
  • Built-in Excalidraw Diagrams: Type /excalidraw to draw flowcharts or architecture sketches right inside the single .md file and click anytime to re-edit.

AutumnMark showing embedded Excalidraw drawing and enhanced code block with title, highlighted lines, and expandable preview


4. AI Integration (Sidebar + Agent-Ready Workflow)

AutumnMark integrates AI at two levels:

  • Built-in AI Document Sidebar: Keep an AI assistant right beside your file tree and outline to ask questions, polish prose, or work through technical drafts without context switching.
  • Native External AI Agent Collaboration (Skill Bridge): AutumnMark can connect directly with external coding agents so an agent can safely read and edit your currently open document (with session locking, revision checks, and native Undo) — and even collaborate inside the Custom CSS Theme Studio with computed-style verification and live preview inspection.

Try AutumnMark

AutumnMark is 100% open source under the MIT license, with prebuilt releases for Windows, macOS (Apple Silicon), and Linux.

I would love to hear your thoughts — especially on what extended Markdown ergonomics or AI workflows you wish your daily editor had!

Top comments (0)