Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Find backlink file references in standard markdown links []() in addition to wiki links [[]] #83

Closed
michael-guimet opened this issue Aug 26, 2020 · 3 comments
Labels
feature New feature or request wontfix This will not be worked on

Comments

@michael-guimet
Copy link

michael-guimet commented Aug 26, 2020

Thanks for Memo, it's really useful!

Currently, backlinks to other notes are only detected if wiki links are used: [[filename]] or [[filename|link text]]

Unfortunately, I upload my note to Github and where wiki links are not supported and I have a tendency to use standard markdown links [link text](filename.md) for notes to be usable on the web. However, doing this means backlinks are not detected.

Would it be possible to detect backlinks to files in the []() link format?

Thanks.

@michael-guimet
Copy link
Author

This might not be the best solution to the use case as an alternative way to put it could be: "Make wiki links work in Github / Markdown parsers". This might be outside the scope of the Memo project.

@svsool
Copy link
Owner

svsool commented Aug 28, 2020

In general, it should be possible, although I think supporting backlinks is just a beginning and some other features would be good to have like links autocomplete (I believe supported already?), preview, update on rename, find by reference and so on. It sounds like enough work for the whole another extension 🙂. In many cases, I find wikilinks more compact, easier to read, and write than Markdown links, but as you mentioned so far wikilinks' portability is not the best. I wish Memo would support native links as good as wikilinks, but it would require significant time for me to implement them, so I hope more contributors could emerge, and this whole idea can be taken forward.

Here also some difference between them:

Wikilinks:

  • Absolute (relative to workspace) paths supported
  • Short paths supported
  • Files embedding
  • Easier to sync on rename
  • Backlinks
  • Find by reference
  • Preview on hover
  • Not supported by popular Markdown Viewers including GitHub

Markdown links:

  • Requires relative/absolute paths
  • File paths should be url encoded (raw space and other symbols are not allowed)
  • No embedding
  • Supported by all Markdown Viewers

@michael-guimet
Copy link
Author

Thanks for the reply. I understand your position. In any case, I've found a few workarounds for the time being.

I'll see how I can help, but unfortunately I'm not a node developer.

@svsool svsool added feature New feature or request wontfix This will not be worked on labels Aug 30, 2020
@svsool svsool closed this as completed Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants