All docs

Markdown mirror

Devot can keep a folder you choose up to date with every note as a Markdown file, laid out like an export.

Turn it on

Open Settings > Mirror, or choose Choose Markdown Mirror Folder in the command palette, and pick a folder. Devot writes a folder per notebook, a file per note and images in an attachments folder. Include Attachments, on by default, decides whether images are copied.

Templates and the Trash are left out. Importing the folder gives the same notes back.

Edit the files elsewhere

Git, grep, Spotlight, other editors and agents can read your notes in the folder without an export. Turn on Bring Back Outside Edits in Settings > Mirror to edit them there too: a file you change in another app goes back into its note, with the title, tags and status from its front matter and its images still linked.

Devot merges the change into the note as an edit, so Revision History and sync keep working, and checks the folder again whenever you return to Devot.

  • A mirrored file is never overwritten. With Bring Back Outside Edits off, or when the note changed in Devot as well, Devot renames your file to <name> (edited outside Devot).md, tells you, and writes its own version.
  • Files Devot did not write are never changed.
  • If the folder goes missing, such as an unplugged drive, the mirror pauses and resumes once it can write again.