The Back Links action that Greg provided as an example of how to use the new linking capability added with version 20 looks for drafts using this code:
// query for other drafts with the link to this one…
let pattern = "[[${title}]]"
;
let drafts = Draft.query(pattern, “all”, [], [], “modified”, true);
The action finds notes with this structure:
This is a note
But, not with this structure:
This is a note
Or, this structure:
This is a note
I’ve tried a variety of different modifications trying to get the pattern to match a note title that uses Markdown formatting. But, I’ve had no luck.
Can someone please point me in the right direction?