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

Add markdown link to local file or directory #568

Open
msmart opened this issue Aug 21, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@msmart
Copy link

commented Aug 21, 2018

I would like to add a link to a local file or directory in markdown.

When clicking on the rendered version of this (on version 2.3.4/Ubuntu)

[abc](file:///home/test/file.pdf)

a new empty Standard Notes window is opened:
grafik

I suspect this use case is not yet supported by Standard Notes and no correct handler for outgoing links has been defined. However, it might be a nice feature to have.

@mobitar

This comment has been minimized.

Copy link
Member

commented Aug 21, 2018

Hmm..haven't tested this use case yet. In any case, a new window definitely shouldn't be opened. Should either open the file, or if it's not supported, at least display an alert. Will need to investigate this. Thanks for the heads up!

@mobitar

This comment has been minimized.

Copy link
Member

commented Aug 21, 2018

Which markdown editor were you using when this happened? I'm unable to reproduce this..

@msmart

This comment has been minimized.

Copy link
Author

commented Aug 22, 2018

I clicked on the link in the preview mode of the "Advanced Markdown Editor" (Version 2.3.4/Ubuntu). Clicking on the link on the Android app doesn't do anything (which is probably more desirable).

@mobitar

This comment has been minimized.

Copy link
Member

commented Aug 22, 2018

Hmm that's strange. I just tested on the Adv Markdown Editor and it correctly opens the file. But I'm on Mac. I'll have to test this on Linux next time I'm in there.

@mobitar mobitar transferred this issue from standardnotes/web May 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.