• Login
Community
  • Login

Markdown: Link to open a local File

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 2.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    PeterGyger
    last edited by PeterGyger Feb 12, 2019, 8:37 AM Feb 12, 2019, 8:34 AM

    Hello

    I create a Markdown File.
    Inside i write this code - without the space in the middle:

    [Info to Jekyll Now] (./_posts/2019-01-01-1.md)

    With the Markdown Viewer in Notepad++ i open the file.
    I click on this link. Nothing happens.
    I do the same in Visual Studio Code and it opens this file.

    I don’t works with PDF oder JPG either.

    Only for my personal Learning: what or where is the reason?

    Thank you for a exponation

    1 Reply Last reply Reply Quote 0
    • P
      PeterJones
      last edited by PeterJones Feb 12, 2019, 2:44 PM Feb 12, 2019, 2:43 PM

      It appears that the author(s) of MarkdownViewer++ didn’t choose to implement local/relative links inside the MarkdownViewer++ pane. (Note that external URLs in the MarkdownViewer++ pane go to your default browser, and are not rendered in the MarkdownViewer++ pane, so it already decided against following and rendering external links in the embedded pane.)

      The intention of the plugin is stated as “to view a Markdown file rendered on-the-fly” (quoted from MV++ homepage), rather than to be a fully-featured on-the-fly Markdown browser. It makes sense to me, in this design, that it wouldn’t change what’s in the viewer-pane, because the MarkdownViewer++ pane is a live rendering of the active markdown file in the active Notepad++ editor pane – and by rendering a different page there in the viewer pane than is active in the Notepad++ editor pane, it would confuse me as a user.

      However, if you want to look through the open issues for MarkdownViewer++ , you can see if someone has already asked for that feature; if not, you may submit your own request there. No guarantees that it will be implemented if asked for (if I had a vote, I would vote against it), but maybe the developer will agree with you rather than me, so it might be worth a try.

      1 Reply Last reply Reply Quote 1
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors