A way to disable page preview Hover for specific markdown links

For my plugin better-pdf-plugin, I would like to create an internal-link that doesnt get a hover popover because this rather hinders my workflow.

Possible solutions:

  • a class internal-link-without-popup
  • a tagging class internal-link no-popup

The page preview plugin should check whether this class is available and if so, it should not generate the popover.

6 Likes

I would be happy if there was a way better-pdf-plugin and the page preview function of Obsidian would be compatible to each other without side effects.

+1

Did you get any traction on this problem MSturc?

I’m having a similar issue, where I’d like the “Page Preview” not to activate
when encountering a .lnk file

I’ve just run across a use case for this as well —
I’m using dataview to create a super customized pinterest-like card view, and don’t want the popovers to display on some links in my view. Would love a way to selectively disable it via a class. Can hack it with JS, but would prefer something simple and non-hacky :laughing:

I can’t help with this issue. Rendering of internal links is handled by Obsidian itself. Therefore i’ve created this Feature Request, to add this classes to get more control on over them.