Are you also annoyed, that your PDF Export in Obsidian always renders in Lightmode without any of your awesome theming? Me too! Thats why i build this little extension, where you're finally able to render all your Notes with your currently active Theme.
- Copy this repo into your Vault under .obsidian/plugins
cd /your-vault/.obsidian/plugins
git clone https://github.com/haasele/themed-pdf-export
- Go into your Obsidian Vault under Settings > Community Plugins (You may need to enable that first)
- Search "Themed PDF Export" and enable it
Currently there're 2 Ways to export your Files:
-
You will see a new icon in your Sidebar

Tap on the Icon, you will get a Printer Dialog from your System, choose "Print as PDF", "Print as File" or something like that.
There you can also give your PDF an Output location and a Name
For example:
-
You can also use the Command Palette.
The Command to open the same Print Dialog is "Themed PDF Export: Export current Note as PDF (with theme)"
Have Fun!