When given a Markdown link containing a
file:/// URI as follows:
Obsidian tries to literally open a file named
example.html#bar. However, this goes against the URI spec, where a fragment should point to a portion of a given document. , 
The same path works in e.g. xdg-open:
as well as Firefox and Chrome.