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

Missing capability: Linking to filesystem files and internal links within the document #8

Open
jeff9315 opened this issue Apr 13, 2019 · 4 comments
Labels
enhancement New feature or request PR welcome Pull Request welcome

Comments

@jeff9315
Copy link

As I stated earlier this morning, I LOVE your plugin. There are 2 types of links that don't get followed correctly. Hopefully, linking to files in the filesystem and to internal links in the document are both something you feel should be addressed:

(1)Internal links such as

Jump to: [top](#top) ... [today](#today) ... [thisweek](#thisweek) ... [deferred](#deferred) ...[bottom](#bottom)
...
<a name="today"></a>
...
<a name="deferred"></a>

and also links to separate md files such as

* See [Comcast Issues](./Comcast.md)
@mohzy83 mohzy83 added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Apr 27, 2019
@mohzy83
Copy link
Owner

mohzy83 commented Apr 27, 2019

Hi Jeff,
you are right, internal links should work. It should be easy to fix that.
Currently only external links are supported. External links are opened in your default browser.
What is the desired behavior for linked md files? Preview them and also open the file in the Editor?

@jeff9315
Copy link
Author

Yes, I think they should be opened in both the the Editor and the Preview Panel ... as a separate tab.

@czdiao
Copy link

czdiao commented Aug 16, 2019

Hi! Thanks a lot for making such a nice plugin!

In addition to the "open the links to separate md file", I am also wondering if it is possible to add the functionality to "open linked files with system default programs"? I use md file to manage some notes of my work. Quite often in the note I would refer to some pdf or xlsx files I worked on everyday.

Thanks!

@mohzy83 mohzy83 added this to the 0.6.0 milestone Oct 16, 2020
@mohzy83 mohzy83 added this to To do in MarkdownPanel Oct 16, 2020
@xmatic
Copy link

xmatic commented Nov 30, 2020

linking to files in the filesystem

I would like to add my support to this.

E.g., in Notepad++, if I add the following...

[Salsa Pretzel Move](file:///C:\Users\user.name\Dropbox\Learn\Dance\SalsaPretzelMove.mp4)

...it creates a link in Notepad++ and I can double-click on this link, and it will directly open the video file in the default video handler app.

If I use another Markdown plugin (MarkdownViewer++), I see Salsa Pretzel Move as a link, and if I click on the link, it will directly open the video file in the default video handler app.

If I use NppMarkdownPanel, I see Salsa Pretzel Move as a link, but nothing happens if I click on the link. It would be nice if it could handle the click.

To @mohzy83 : awesome job on NppMarkdownPanel. Overall, it is my preferred Markdown plugin.

@mohzy83 mohzy83 removed this from the 0.6.0 milestone May 26, 2022
@mohzy83 mohzy83 removed this from To do in MarkdownPanel Dec 4, 2022
@mohzy83 mohzy83 added the PR welcome Pull Request welcome label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PR welcome Pull Request welcome
Projects
None yet
Development

No branches or pull requests

4 participants