Advanced Markdown Export

approvedunreviewed

by Michael Naumov

Export notes with their attachments and linked notes, picked in a dependency tree.

★ 1 stars↓ 996 downloadsUpdated 18d agoMIT

Advanced Markdown Export

Buy Me a Coffee GitHub release GitHub downloads Coverage: 100%

Send someone a note and it arrives broken: the images are missing and every [[link]] is dead. Copying the whole folder over-shares, and copying just the .md under-shares. This plugin walks the note's dependencies for you and shows them as a tree of checkboxes, so you decide exactly what travels with it — then writes the bundle out with its links still working.

Attachments arrive checked, linked notes do not

More screenshots
Tick a linked note and it expands one level deeper Listed once, and mirrored wherever it repeats Export a folder and every note in it is a root Bulk selection, without ticking a hundred boxes Attachments arrive checked, linked notes do not Tick a linked note and it expands one level deeper Listed once, and mirrored wherever it repeats Export a folder and every note in it is a root No folder picker on a phone, so it asks

Demo vault

The documentation is a demo vault. Every feature has a note that explains what it does, with a worked example graph you can export yourself.

Start reading here — it is plain markdown, so it works on GitHub with nothing installed.

A copy of the vault ships with every release. You can access it via any of the following:

  1. Running the Advanced Markdown Export: Open demo vault command.
  2. Downloading advanced-markdown-export-demo-vault.zip from the Releases. It unzips into a single advanced-markdown-export-demo-vault-<version> folder.
  3. Browsing its source in demo-vault/ in this repository.

What it does

Attachments and linked notes are not the same thing, so they do not get the same default. An embedded image is part of the note; a linked note is a separate document you may or may not want to hand over. So attachments arrive checked and linked notes arrive unchecked:

[x] A.md
  [x] A1.jpg
  [x] A2.jpg

  [ ] B.md

Depth is driven by your ticks, not by a number you guess up front. Tick B.md and it expands, applying the same rule one level deeper — B's attachments come in checked, B's own linked notes do not:

[x] A.md
  [x] A1.jpg
  [x] A2.jpg
  [x] B.md
    [x] B3.jpg
    [x] B4.jpg
    [ ] C.md

The export has many roots. Start from one note, from a multi-selection in the file explorer, or from a whole folder — every note in it becomes a root, and the tree becomes a forest.

A running total, before you commit to it. The dialog keeps a live file count and total size above the tree, so "is this export getting huge?" is answered while you are still ticking rather than after the bundle is written.

Links that survive the trip. The bundle keeps its vault-relative structure, so links between included files still resolve after extraction and two files with the same name cannot collide. Links to files you left out are handled by a policy you choose rather than silently breaking.

Usage

  • Right-click a note in the file explorer → Export with dependencies.
  • Right-click a folder → every note in it becomes a root.
  • Select several files, right-click → Export with dependencies.
  • Command palette → Export active note with its dependencies.
  • Command palette → Export the whole vault.

On the desktop, Export opens a system directory picker, so the bundle can land anywhere — including outside your vault. On mobile there is no such picker, so it goes to a vault-relative folder instead. Either way, turning on Create a ZIP archive gives you a single .zip rather than a folder.

The Format dropdown under the tree turns the same selection into one document instead of a bundle: an EPUB book with a chapter per checked note, or, on the desktop, a PDF document with each note starting on a new page. Both are rendered the way Reading view shows them, embedded images included, and a link to another checked note jumps to it inside the document. The Export format setting picks which one the dropdown starts on.

Notes built on Dataview or Tasks queries can travel as their results: turn on Render plugin code blocks and each query is replaced in the export by what it renders, converted to markdown, so a reader without the plugin sees the list rather than the query.

See also

My other Obsidian resources

PluginFeaturesHow Advanced Markdown Export differs
Canvas BundleCanvas ZIP with its notes and attachmentsDifferent starting point: notes/folders; copies canvases unchanged
Cluster ExportGraph cluster pruning; Markdown/assets export; optional sync; desktop-onlyAlternative selection: file tree; one-time export
Codex ShareProperty-selected notes and embeds synced to an external AI folder; no link traversalAlternative workflow: reviewed bundle export with linked-note traversal
Copy Notes to VaultTree-selected notes and attachments copied to another vault; no link traversal; desktop-onlyBroader collection: follows links between notes
Export Markdown ZIPRecursive note/attachment ZIP; relative-link rewrites; desktop-onlySame ZIP goal; per-file selection; mobile too
Linked Note ExporterFolder/ZIP export; notes and attachments; link-depth limit; exclusionsSame bundle goal; reviewed file tree with per-file choices; no depth setting
markdown exportNote/folder export with images and embeds; Markdown or HTML; no linked-note traversalBroader file collection: offers linked notes individually
NoteParcelSelected notes/folders and attachments copied to another vault; no link traversal; desktop-onlyBroader collection: follows links between notes
Obsidian BundlerUnlisted; recursively flattens notes/attachments into one directory; no selectionSame bundle goal; preserves separate paths and offers per-file choices
Share as ZIPRecursive linked-note/attachment ZIP; preset exclusionsSame ZIP goal; preview and per-file selection before writing
Smart ExportDepth-limited traversal; merges notes into Markdown/XML for reading or AIAlternative output: separate notes with attachments
Trans VaultCopy/move to another vault; reviewed direct-link tree; desktop-onlyBroader destination: bundle anywhere; follows links as deep as selected

Last searched for similar plugins on 2026-10-26.

Installation

The plugin is available in the official Community Plugins repository.

Beta versions

To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:

  1. Ensure you have the BRAT plugin installed and enabled.
  2. Click Install via BRAT.
  3. An Obsidian pop-up window should appear. In the window, click the Add plugin button once and wait a few seconds for the plugin to install.

Debugging

By default, debug messages for this plugin (id: advanced-markdown-export) are hidden.

If you need to enable them refer to the documentation.

Changelog

All notable changes to this project will be documented in the CHANGELOG.

Contributing

Contributions are welcome — see CONTRIBUTING to get set up.

Support

Buy Me A Coffee

Filing an issue (for AI agents and humans)

Open issues through the issue forms, not as blank issues.

To report a bug from inside Obsidian, run the Advanced Markdown Export: Report a bug command. It opens the bug form with the plugin version, the Obsidian version and your operating system already filled in.

Filing from the CLI or the API (gh issue create --body, or an AI agent filing for you) skips the form, and gh issue create --template cannot load an issue form. In that case, open the matching form in .github/ISSUE_TEMPLATE/, copy every field as a ### <label> heading in the form's order, and fill in each one. Always state the plugin version, the Obsidian version and your operating system.

License

© Michael Naumov

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.