Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Enhanced PDF Export

Cygnus YangCygnus Yang1k downloads

A stronger PDF export for rendered Markdown, preserving HTML, SVG, Mermaid, and rich visual content better than Obsidian default export.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates7

English | 简体中文

A stronger PDF exporter for rendered Markdown.

Enhanced PDF Export is designed for notes that contain rich visual content such as Mermaid diagrams, inline HTML, SVG, tables, callouts, and images. It renders the active Markdown file through the app preview renderer first, then exports that rendered result to PDF with Electron printing.

The goal is to preserve visual content that the default PDF exporter may miss or flatten incorrectly.

Features

  • Exports the active Markdown file to PDF.
  • Preserves rendered Mermaid, inline HTML, SVG, tables, callouts, and images.
  • Waits for fonts, images, SVG, and Mermaid diagrams before printing.
  • Adds an optional cover page and table of contents.
  • Uses A4 paper, print backgrounds, and stable margins by default.
  • Adds a ribbon action, command palette actions, and a file context menu action.

Installation

Install with Git

Clone this repository into your vault's plugins directory:

cd /path/to/your-vault
mkdir -p .obsidian/plugins
git clone https://github.com/cygnusyang/obsidian-enhanced-pdf-export.git .obsidian/plugins/enhanced-pdf-export

Then open the app:

  1. Go to Settings -> Community plugins.
  2. Turn off Restricted mode if needed.
  3. Reload the app or run Reload app without saving.
  4. Enable Enhanced PDF Export.

Manual Installation

Create this directory in your vault:

<your-vault>/.obsidian/plugins/enhanced-pdf-export/

Download or copy these files into that directory:

  • manifest.json
  • main.js
  • styles.css

The final structure should look like this:

your-vault/
└── .obsidian/
    └── plugins/
        └── enhanced-pdf-export/
            ├── manifest.json
            ├── main.js
            └── styles.css

Then go to Settings -> Community plugins and enable Enhanced PDF Export.

Usage

  1. Open the Markdown file you want to export.
  2. Click the ribbon export button, or run Enhanced PDF Export: Export active Markdown to PDF from the command palette.

You can also right-click a Markdown file in the file explorer and choose Export to PDF.

The PDF is written next to the source Markdown file with the same base name and a .pdf extension.

Development

For local development, symlink this repository into a test vault:

mkdir -p /path/to/vault/.obsidian/plugins
ln -s /path/to/enhanced-pdf-export /path/to/vault/.obsidian/plugins/enhanced-pdf-export

For faster iteration, install the hot-reload development plugin and create a local .hotreload marker file in this plugin directory. Changes to main.js, styles.css, and manifest.json will reload automatically.

Limitations

  • Desktop only.
  • Exports one Markdown file at a time.
  • Output path is currently fixed to the same directory as the source Markdown file.
  • Dynamic third-party plugin rendering may require additional wait time before export.

中文说明

See 简体中文说明 (README.zh-CN.md) for the full Chinese documentation.


Cygnus Yang · GitHub · Enhanced PDF Export · MIT License

HealthExcellent
ReviewPassed
About
Export Markdown to high-fidelity PDFs that preserve Mermaid, inline HTML, SVG, tables and callouts. Render with Obsidian's Markdown engine and print via Electron to produce A4 PDFs with cover and table of contents; save a same-folder single-file PDF on Obsidian Desktop.
ExportPDF
Details
Current version
0.1.6
Last updated
Yesterday
Created
3 months ago
Updates
7 releases
Downloads
1k
Compatible with
Obsidian 1.5.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
Cygnus YangCygnus Yangcygnusyang
GitHubcygnusyang
  1. Community
  2. Plugins
  3. Export
  4. Enhanced PDF Export

Related plugins

Slides Extended

Create markdown-based reveal.js presentations. Fork of Advanced Slides.

Pandoc Plugin

Commands to export to Pandoc-supported formats like DOCX, ePub and PDF.

Advanced PDF Export

Export notes as pixel-perfect PDFs with live preview, style presets, manual page breaks, tables, and full layout control.

qmd as md

Edit, preview, and render Quarto (.qmd) files with executable code cells via Quarto to PDF, DOCX, HTML, or reveal.js.

Marp Slides

Create Marp presentations.

PDF Highlights

Extract highlights, underlines and annotations from your PDFs.

PDF break page

Add shortkey and command to insert a break page formating for pdf exports.

Karpathy LLM Wiki

Karpathy's LLM Wiki implementation plugin for Obsidian - turns notes and PDFs into a linked, LLM-powered knowledge base with entity pages, concept pages, graph-powered Q&A, and local-first privacy.

Text Extractor

A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.

Annotator

Read and annotate PDFs and EPUB files.