Document Exporter

by rogerdigital
5
4
3
2
1
Score: 35/100

Description

This plugin has not been manually reviewed by Obsidian staff. Export notes, folders, and query results into Markdown bundles, HTML documents, and print-ready exports.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
1
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Document Exporter

Export notes, folders, and filtered results into PDF, Word, Markdown bundles, and HTML documents.

Features

  • PDF — generates a print-ready .pdf with native Obsidian rendering
  • Word document — generates a .docx document for editing and sharing
  • Markdown bundle — combines selected notes into a single .md file with copied attachments and rewritten links
  • HTML document — generates a standalone .html with table of contents, native rendering, and linked assets

Usage

Multiple ways to start an export:

Entry point How
Sidebar icon Click the export icon in the left sidebar
Right-click a file File explorer → right-click a Markdown file → "Export this file"
Right-click a folder File explorer → right-click a folder → "Export this folder"
Right-click in editor Right-click inside a note → "Export current file"
Command palette Cmd/Ctrl+P → "Export documents"

Export dialog

  1. Choose source — current file, folder, selected files, or tag filter
  2. Choose format — PDF, Word document, Markdown bundle, or HTML document
  3. Set output folder — type a path, click Vault to pick from vault folders, or Choose folder to select a system folder (desktop only)
  4. Set file name — defaults to the source file or folder name
  5. Click Next → review the summary → click Export

A notification shows the output path when export completes.

Examples

Export the current note as PDF

  1. Open a note → right-click → Export current file
  2. Format: PDF → click Export
  3. Result: exports/<filename>.pdf

Export a folder as Markdown bundle

  1. Right-click a folder → Export this folder
  2. Format: Markdown bundle
  3. Click Export
  4. Result: exports/<foldername>.md + exports/assets/ (if images exist)

Export filtered notes as HTML

  1. Start an export from sidebar icon or command palette
  2. Source: Filter by tag, Format: HTML document
  3. Click Export
  4. Result: a standalone .html with all matched notes combined and a table of contents

Settings

Open Settings → Document Exporter.

Setting Description Default
Output folder Where exported files are saved exports
Default export format Format pre-selected when opening the dialog PDF
Default sort mode How notes are ordered in the output File path
Include source path comments Add HTML comments showing each section's origin Off
Copy attachments Copy referenced images and files into the export On
Overwrite existing exports Overwrite if output already exists; otherwise a timestamped folder is created Off

Limitations

  • Inline note embeds (![[Note]]) are preserved as links, not expanded
  • Dataview queries are not executed during export
  • Canvas files are not supported
  • PDF export requires the desktop app

Privacy

Document Exporter does not make any network requests. All processing happens locally. No data is sent to external services.

Installation

Search "Document Exporter" in Settings → Community plugins → Browse and click Install.

Manual installation

Copy main.js, manifest.json, and styles.css into your vault's .obsidian/plugins/document-exporter/ directory.

Development

npm install
npm run dev      # watch mode
npm run build    # production build
npm test         # run tests

License

MIT