ylc395 / joplin-plugin-note-link-system

A complete Link System for Joplin. Referrer(aka. backlink), Quick Link, Copy Anchor, Hover To Preview, and much more feature
154 stars 5 forks source link

`$$$` breaks quick link to headlines #28

Closed fschottmann closed 2 years ago

fschottmann commented 2 years ago

In my joplin (version 2.8.8) the dropdown feature for headlines in other notes are not work any more. Only in the current note the headlines are displayed.

To be precisely the dropdown list for the notes are displayed correctly only the headline feature are not working.

ylc395 commented 2 years ago

not work for all notes or specific note?

fschottmann commented 2 years ago

mmh nevermind now it is working again... strange behavior

to answer your question this behavior was for all notes

fschottmann commented 2 years ago

i found the issue in the note was a triple dollar sign this caused this issue

ylc395 commented 2 years ago

It seems that $$$ will trigger Joplin's markdown editor's syntax parse error, which causes this predication failing.

https://github.com/ylc395/joplin-plugin-note-link-system/blob/00a9e9cc968b26d71c756918cabbf7e422509d70/src/driver/codeMirror/QuickLinker.ts#L211

We won't fix this because this is a joplin issue.