What I want to do
- Remove unwanted spacing between internal/external link previews in PDF output.
e.g.
![[some page#my text]]
A screenshot to illustrate:
This large spacing doesn’t show in Obsidian, only in PDF exports.
Things I have tried
I have looked at the help docs (F1), but couldn’t find anything pertinent to this.
I’ve used inspect element to identify the tags, and modified them with css snippets. I’m able to make any changes I desire to show in obsidian using this method.
However, the changes are often not reflected when exporting to PDF.
I know that you can specifically modify css for PDF exports with
@media print {
}
But how do I know the specific names of classes I’m looking to modify, given that there isn’t a default css file?
I’m probably going wrong somewhere - any thoughts appreciated!