Popup preview for links to headers do not apply styles to those headers

Steps to reproduce

  • In a note, create a header and style it to be different than default. To do this without a css snippet or 3rd party plug ins, simply make it italic ## *Italic Heading*
  • In another note create an internal link to the heading [[Note#*Italic Heading*]] then hover over the link holding control so the pop-over preview appears.

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

I expect the resulting pop-over to display the header as it is styled, such as Italic Heading. The same as when viewing a pop-over preview for a link to the entire note ([[Note]]). All styling displays as expected when linking to the entire note, this only occurs when the link is directly to a header.

Actual result

Instead of displaying the styled header, the header displays all text and markdown/code. So instead of Italic Header it shows “*Italic Header*”.

This happened with the latest update on 10/16. Prior to that links to headers displayed styling just fine. I really hope this can be fixed asap as I’ve yet to find a work around. I may end up attempting to roll back until this is fixed even though it fixes other annoying bugs, since I use pop overs with links to headings to display definitions of things on hover in my project and having them messed up is a pain.

Environment

SYSTEM INFO:
Obsidian version: v1.7.4
Installer version: v1.6.7
Operating system: Windows 10 Home 10.0.19045
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Pop over link to header:
Screenshot (24)

Pop over link to the note itself:
Screenshot (25)

thanks

1 Like

this was fixed in v1.8 (except for math)

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