Change behaviour of popover (hover preview) in Obsidian Publish

What I’m trying to do

I want to change / adapt behaviour of popover windows (hover preview) in Obsidian Publish. For some links in my Vault, preview should be disabled, ie. for files in specified folder href=“/folder-excluded-from-hovering-preview/*.md”.

Things I have tried

It is possible to disable “Show hover preview” (display page preview when hovering links) in Obsidian Publish “Site options”, but it works globally - for all files in Vault.

Hovering on internal link create new div with classes: popover, hover-popover, is-loaded. Is it possible to debug these JS functions / events and overwrite them?


1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.