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

Enhancing Export

mokeyishmokeyish425k downloads

Enhanced export based on Pandoc. Allows export to formats like HTML, DOCX, ePub and PDF or Hugo.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates57

English | 中文

This is an enhancing export plugin base on Pandoc for Obsidian (https://obsidian.md/). It's allow you to export to formats like Markdown,Markdown (Hugo),HTML,docx,Latex etc.

Where Markdown,Markdown (Hugo),HTML will export and its media resource together.

Note: Markdown,Markdown (Hugo),HTML are tested in Mac OS, Windows, and Linux as I used it for myself, others are not tested well.

Ads: You might like my other plugins 🤪

  • Obsidian Code Emitter

Screen shot

  • Export view,click on Export to... on file menu.

  • Setting view

Installation

  1. First install the latest pandoc (3.1.9+), and then add pandoc path to environment variable PATH or set absolute path of pandoc in the plugin setting view.

    See more details in https://pandoc.org/installing.html。

  2. Search obsidian-enhancing-export in the community plugins of obsidian, and install it.

Customize export commands

You can customize your export command by yourself, click add in the plugin setting view and then choose template custom to add new custom configuration.

Variables

You can use ${variables} in custom export command, their values are:

Key Value
${outputPath} Output file path after export. For example, if your export to location /User/aaa/Documents/test.pdf, then ${outputDir} will be replace that path.
${outputDir} Output directory of saved exported file,It will be /User/aaa/Documents in above case.
${outputFileName} File name (without extension) of the saved exported file. It will be test in above case.
${outputFileFullName} File name (with extension) of the saved exported file. It will be test.pdf in above case.
${currentPath} Path of currently edited file. For example, if your are editing /User/aaa/Documents/readme.md, the the value will be /User/aaa/Documents/readme.md.
${currentDir} Current directory of currently edited file, It will be/User/aaa/Documents in above case.
${currentFileName} Filename without extension of currently edited file, It will be readme in above case.
${currentFileFullName} Filename with extension of currently edited file. It will be readme.md in above case.
${vaultDir} The obsidian current vaultDir.
${attachmentFolderPath} The attachmentFolderPath of Obsidian.
${embedDirs} String containing directories of embedded files for use with --resource-path argument e.g. --resource-path=${embedDirs}
Others variables You can use keyword: value in YAML Front Matter, then use ${metadata.keyword}

Related resources

  • Tutorial: Obsidian Tutorial for Academic Writing - tutorial on how to setup this plugin and use it for academic writing (export to .docx, .pdf, .tex, .bib)
  • A collection of lua filters for pandoc: https://github.com/pandoc-ext - Filters and other goodies to get the most out of pandoc, the universal document converter.
  • Math latex editor: https://math.yish.org/

Finally

  • Welcome to provide more command templates to here.
  • Feel free to file an issue for any questions.
HealthExcellent
ReviewRisks
About
Export notes to Markdown (including Hugo), HTML, DOCX, LaTeX and other formats via Pandoc, preserving media for Markdown and HTML exports. Customize export templates and commands using built-in variables to control output paths, filenames and formats.
Export
Details
Current version
1.11.1
Last updated
6 months ago
Created
4 years ago
Updates
57 releases
Downloads
425k
Compatible with
Obsidian 1.6.3+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
mokeyishmokeyish
github.com/mokeyish
GitHubmokeyish
  1. Community
  2. Plugins
  3. Export
  4. Enhancing Export

Related plugins

Pandoc Plugin

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

Wechat Converter

将 Markdown 转换为微信公众号排版,并支持一键发送到微信公众号、飞书、小红书、知乎、微博、CSDN等20+平台。

Slides Extended

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

Timekeep

Time tracking.

Mermaid View

Handle Mermaid files as first-class citizens, rendering them fullscreen when opened.

Yanki

Sync flashcards from a folder in your vault to Anki. Pure Markdown syntax. No fuss.

GitHub

Share as Gist

Share a note as a GitHub.com Gist.

qmd as md

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

Export Image plugin

Easily convert your article to image.

Heading Level Indent

Indenting content under headers based on their level.