Community
    • Login

    Markdown: Link to open a local File

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 3.2k Views 2 Watching
    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.
    • PeterGygerP Offline
      PeterGyger
      last edited by PeterGyger

      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
      • PeterJonesP Online
        PeterJones
        last edited by PeterJones

        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors