PDF generation: Support YAML frontmatter to fill in PDF metadata

Use case or problem

PDFs generated by Obsidian should have a possibility to set their metadata, especially Title, Author, Subject, Keywords and possibly Date.

It makes later indexing, finding, sorting PDFs much easier. (Think of a big company PDF indexing system, or your Ebook managing software, like Calibre.)

With LaTeX, YAML frontmatter can be used for this purpose:

title: My Ttile
author: Alfred E. Newman
subject: Making PDF more usable
keywords: [PDF, searching, metadata, YAML]
date: 2021-03-06

Proposed solution

It would just be great if Obsidian could support at least the above metadata variables and actually write them into the generated PDFs. Maybe they could even be case-insensitive, like Title: and title: meaning the same.

Current workaround (optional)

Manually edit the PDF metadata after generating from Obsidian, using appropriate tools. A tedious and error-prone extra step.

Related feature requests (optional)


I am also very interested in this. Especially with compatibility for LaTeX templates e.g. using pandoc markdown-to-pdf:


1 Like

Any news on that?