✨ Become an AI-era PM — words → product → doAIPM.com
SoloMD

Images & Attachments

Where pasted screenshots land — and how to put them exactly where you want.

What happens when you paste

Copy a screenshot to the clipboard, put the caret in a note, press Ctrl/⌘ V — SoloMD writes the image file to disk next to your note and inserts the Markdown link for you. Dragging an image file into the editor does the same. By default the file goes into an _assets/ folder in the same directory as the note:

my-folder/
├── note.md          ← you pasted here
└── _assets/
    └── image-20260806-093012.png

Everything stays local and relative — the vault remains a plain folder you can sync, zip, or open in any other editor.

Rename _assets to images (or anything else)

Open Settings → Writing. With “Where to save pasted/dropped images” on its default (Shared _assets/ folder per directory), a “Shared attachments folder name” field appears below it. Type images and you're done — every image pasted from now on is saved to images/ next to the note, and links are inserted as ![](images/…).

Slashes are stripped from this field — it's a plain folder name, not a path. For paths and per-note folders, use Custom mode below.

The three attachment modes

ModeImages go toBest for
Shared (default) One folder per directory — _assets/, or whatever name you set above. Simple vaults; matches SoloMD's pre-v4.3.5 layout.
Per-file <note>.assets/ next to each note — foo.md gets foo.assets/. Keeping each note self-contained. Rename foo.mdbar.md and SoloMD renames foo.assets/ too, rewriting the links inside the note.
Custom (Typora-style) A path template you write, e.g. ./images/${filename}/. Migrated Typora vaults, or any layout the other two modes can't express.

Custom path templates

Switch “Where to save pasted/dropped images” to Custom path (Typora-style) and a “Custom image path” field appears. The template supports one variable — ${filename}, the note's file name without extension (foo.mdfoo):

TemplateResult for foo.md
./images/All images in the folder go to images/ next to the note.
./images/${filename}/Per-note subfolder: images/foo/screenshot.png.
../attachments/A folder one level above the note.
/Users/you/pictures/ or C:\pictures\Absolute path — one central folder for every note.

Relative templates resolve against the note's own directory. The inserted Markdown link always uses forward slashes, so links render correctly on Windows too. The syntax matches Typora's “copy image to custom folder” setting — vaults migrated from Typora can keep their existing template as-is.

Good to know

Comments & feedback

Comments live on GitHub Discussions — sign in once with your GitHub account.

Comments load from GitHub Discussions. If you see this message instead, the maintainer has not finished the one-time giscus.app setup yet — see web/COMMUNITY-SETUP.md.

Open on GitHub Discussions →