Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Markdown: Link to open a local File

    Help wanted · · · – – – · · ·
    2
    2
    1527
    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.
    • PeterGyger
      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
      • PeterJones
        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
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors