Steps to reproduce
-
Create documents with headings that are links to other documents, e.g.
[[Lesson 1]]
- exercise idea 1
- exercise idea 2
[[Lesson 2]]
- exercise idea 1
- exercise idea 2
-
Go to a document linked from a heading (other than the first one)
-
Hover-preview the backlinks
Expected result
Hover preview should have the backlinked heading at the top so that the entire list under the relevant heading is visible
Actual result
In the insider build, the heading is in the center, cutting the visible area in half and wasting half the preview area with unrelated content.
Environment
- Operating system: Windows
- Obsidian version: 0.12.1
Additional information
The new “center search results” function is an anti-feature where headings are concerned. Centering a heading that is a backlink or search result does not provide useful context, since the text above a heading is, by nature, text about a different topic.
I have been using backlink hovering combined with links in headings to have a way to write multiple framework sketches on the chapters of a book or lessons of a course. That is, I might write multiple “outline” notes whose headings are links to lesson or chapter notes, and then contain lists of a particular type of information for that thing. (E.g. an outline of examples, an outline of exercises, etc.) This makes it easy to get an overview and shuffle items between chapter or lessons while planning, compared to putting things in separate notes.
Then, during more detailed outlining or writing within the chapter note, I could use the hover preview to easily look at the different work lists for the chapter. I even added some CSS to increase the hover preview size so I could usually see the entire relevant section easily.
Now, since installing the insider build, this has effectively cut the usable portion of the hover preview in half, forcing me to scroll to see the whole backlinked section. In order to get the same usable area as before without scrolling, I would now need to make hover previews the entire height of my screen, and half of it would still be wasted displaying a different chapter’s list. 