Replies: 5 comments 1 reply
-
Dangling links were highlighted previously before introducing the new syntax injection approach (this PR). Maybe @memeplex could confirm whether it's possible or not. |
Beta Was this translation helpful? Give feedback.
-
Look into the links I provided for the approach I took in Foam. There we used syntax injection for the base case and decorations for unresolved links. Since unresolved links are a minority, performance and configurability limitations of decorations are less important. I didn't realize at the time that you were differentiating between resolved and unresolved links, and TBH I still can't see it in the deleted syntaxDecorations.ts, notice that I even pointed out that fact in my proposal:
so perhaps I was wrong there. Sorry if that was the case. |
Beta Was this translation helpful? Give feedback.
-
You are right @memeplex, it was not considered in I think dual approach is the way to solve this problem as you mentioned. |
Beta Was this translation helpful? Give feedback.
-
OTOH I'm not sure if this is worth the effort. The information that a link is dangling may be seen as:
I guess 1 is not the case of interest here. Regarding 2, if the topic is interesting enough for you to follow the link, you will immediately realize there is work to be done. If the topic is not of interest in the current context, having it highlighted may even be seen as syntax noise. After all, having or not the file is just one of many degrees of development for a topic. Moreover, some maintenance concern like "I want to review all my dangling links" is not optimally addressed from another topic page that I happen to have opened for whatever reasons. For example, Logseq is a modern note taking system that champions the backlinks = tag approach and all wikilinks, "broken" or not, look the same, because you see them as tags, as concepts that don't necessarily have text of their own, since the linked references / backlinks are always there as part of the concept. So having them syntactically "downgraded" would somehow be against the guiding philosophy. |
Beta Was this translation helpful? Give feedback.
-
Well, it is after all... Still, considering all my points above, there is a trade off. |
Beta Was this translation helpful? Give feedback.
-
(thanks for memo - it's been great so far!)
I think it would be nice to see when i've made a typo in my links.
I like how memo makes it easy to create new notes by following links to notes that don't exist. But, I don't like having links that don't resolve, since it might be due to a typo. I feel like having a minimal indicator like a red squiggle would be good.
Is it possible to configure this?
Beta Was this translation helpful? Give feedback.
All reactions