agerardin / joplin-plugin-knowledge-graph

Notes as nodes. Explore your Joplin knowledge graph.
MIT License
93 stars 5 forks source link

Links with anchor won't take effect #9

Closed LintaoAmons closed 2 years ago

LintaoAmons commented 2 years ago
3. Some description
    - [Parameter expansion forms#string-chopping](:/65fad2c360454e0aac06eb576f6be6e1#string-chopping) <1>
    - [Parameter expansion forms](:/65fad2c360454e0aac06eb576f6be6e1) <2>

When I link a note with an anchor, shown as <1>, the graph won't recognize this as a link. Only when I add <2> this line, the graph generate the connection between two notes.

agerardin commented 2 years ago

Correct, linking to section of a note is not yet supported but it should (and it will!) I was not sure it was actually supported by Joplin, I may have tried a while ago but I cannot remember if I succeeded. How do you create them at the first place?

shbach commented 2 years ago

@agerardin The Note link system plugin provides the easiest way of doing it. Another one is the copy anchor link plugin. I've been using links with anchors a lot more often now so having this supported is a must for me.

LintaoAmons commented 2 years ago

There's a plugin named Note Link System.

When I input @@ it will show a popup window to let fuzzy find notes to link and select.

After selecting a note to link, It shows the anchors to select.

agerardin commented 2 years ago

Excellent! I have tried the note link system and it does an excellent job to simplify linking note sections. I will push a version with a fix soon.

agerardin commented 2 years ago

Hello! the new release (v1.0.5) will now properly pick up link with elementId. Thanks for pointing this out.

shbach commented 2 years ago

Seems to be working for me. This issue can probably be closed.