sawhney17 / logseq-automatic-linker

MIT License
97 stars 18 forks source link

Linking pages in hierarchy #31

Open andremann opened 2 years ago

andremann commented 2 years ago

When linking pages that are put in hierarchical relation, the linker stops at the first layer. E.g. if pages foo and foo/bar exist, foo/bar should autolink to [[foo/bar]] and not [[foo]]/bar

andremann commented 2 years ago

BTW, I just realised this happens when pages have other non alphanumeric chars in the name. E.g., TOP-10 -> [[TOP]]-10

jumisnotavailable commented 3 months ago

Hello, today on August 1st, 2024, I installed version 1.7.0 of Automatic Linker from the marketplace in LogSeq version 0.10.9. I really like the idea of this plugin! Unfortunately, I'm seeing the same behavior. For example, I have 2 pages: "LogSeq - Plugin" and "LogSeq - Plugin - Automatic Linker". In the text: "LogSeq - Plugin - Automatic Linker installed", only "LogSeq - Plugin" is always found. It would help me if I could change this behavior through an option so that the algorithm doesn't stop at the first match, but only when it doesn't find a matching link with even more text. If this parameter already exists, what is the syntax in the .json configuration file?