I’m trying to set up a new theme that I can use solely to export branded PDFs of notes (keeping the regular in-app theme the same).
I’ve been able to use ‘@media page {‘ to target print-only style, which’s working for exports.
I’m noticing that when I try to set a background image in the top left using ‘background-image: url(https://…)’ it doesn’t appear in the exported file.
The image works when I test it in the regular app theme, so it appears to be an issue specifically with the PDF renderer.
Has anyone had success with this and if so how did you do it? Is there any further technical information available on how Obsidian produces the PDfs from notes or how you can debug?