jensmtg / influx

An alternative backlinks plugin, which displays relevant and formatted excerpts from notes with linked mentions, based on the position of mentions in the notes' hierarchical structure (bullet level indentation).
MIT License
310 stars 14 forks source link

Influx uses the first header in a file not the one closest/enclosing a reference. #11

Closed stoweboyd closed 1 year ago

stoweboyd commented 1 year ago

I have a reference to [[influx notes]] at the bottom of a daily note.

Screen Shot 2022-09-17 at 3 34 07 PM

But the influx data at the foot of that file shows a header from the top of the file, do today, not the expected 3:06 PM trying to influx.

Screen Shot 2022-09-17 at 3 36 56 PM

jensmtg commented 1 year ago

Influx uses the first header in a note as a header for that note. Other then that, it only processes hierarchical data (bullet lists). As such, this is expected behaviour per se, but I may add an option to disable note headers in Influx.

jensmtg commented 1 year ago

Partially fixed in latest version.