influx
influx copied to clipboard
Headers not being accurately detected
Describe the bug The header in the hierarchy is not being correctly identified if "Show headers" is enabled.
To Reproduce
- Create a note
Test note with backlinks
- Create a note
Test note with links
, with the content:
## Test header 1
- Some text
## Test header 2
- [[Test note with backlinks]]
- View the Influx panel on
Test note with backlinks
Expected behavior The header identified for the backlink will be "Test header 2"
Screenshots
Desktop (please complete the following information):
- OS: macOS
- Version [e.g. 22]
Additional context N/A
I'm also having this issue, but inconsistently. For example, I record bulleted meeting notes all under a H1 heading, but only the heading appears in the linked file.
In another case from last week, the header connection worked just fine.
I am also having this issue inconsistently. Also on MacOS, Ventura 13.3.1.
I'm also having this issue. Apparently, all occurrences are reported under the first matching header.
FWIW, I've triaged this issue by just keeping my expectations for usage simpler. I have just figured out a format that works with the current code and have changed my note taking to match it.
I based the style on the image in this repository that shows the usage examples. Basically, I've gone to more bulleted lists and less headers. I find the plugin useful enough that this trade-off works for me.
I observed the same issue with a note like this:
[[A]]
# Heading
where Heading
is detected as heading for the link [[A]]
.
I guess this is related to #32. It would be really nice if the closest headline would be used instead of the topmost one.