nea / MarkdownViewerPlusPlus

A Notepad++ Plugin to view a Markdown file rendered on-the-fly
MIT License
1.17k stars 143 forks source link

Feature Request: opening relative linked markdown documents and html #128

Open matthewsheeran opened 3 years ago

matthewsheeran commented 3 years ago

This is not really an issue but a major suggestion. (I wanted to approach you on https://www.insanitydesign.com/ but the site appears to be down returning "Error establishing a database connection".)

It is as follows:

This a rather simple, elegant, but rather powerful way to get a linked Markdown Editor for notetaking turning MarkdownViewerPlusPlus into one!

I like the idea that much that if I cannot get traction from you I will consider developing my own Notepad++ Plugin to do so. I am also quiet happy to contribute to your code base and it is indeed a rather minor change and improvement and a lot less effort than developing a competing plugin from scratch for myself as you once did! The only other alternative being a fork..

Kindest Regards, Matthew

robertgro commented 3 months ago

This is not really an issue but a major suggestion. (I wanted to approach you on https://www.insanitydesign.com/ but the site appears to be down returning "Error establishing a database connection".)

It is as follows:

  • I have always wanted a text note taking app with linked notes using open standards and like the idea of this being a Plugin hosted in Notepad++.
  • I want clicking of relative (and absolute I guess) Markdown .md .markdown etc. links to open those linked Markdown documents.
  • When rendered as HTML I would like those relative Markdown extension links (only) to get automatically changed to .htm .html etc. whatever extension the output HTML extension is.
  • Clearly clicking the output links should also follow them. They should switch (or save) and open the backing Markdown source files also.

This a rather simple, elegant, but rather powerful way to get a linked Markdown Editor for notetaking turning MarkdownViewerPlusPlus into one!

I like the idea that much that if I cannot get traction from you I will consider developing my own Notepad++ Plugin to do so. I am also quiet happy to contribute to your code base and it is indeed a rather minor change and improvement and a lot less effort than developing a competing plugin from scratch for myself as you once did! The only other alternative being a fork..

  • The only other suggestion I have but probably an impossible one to deliver is to render the HTML output in the same window as the Markdown itself and be able to switch between the two views perhaps even keeping cursor page/line location. This one is a very big ask but the relative link changes for the above are almost trivial.

Kindest Regards, Matthew

I second this. Please enhance your plugin if possible.

At first, thank you for creating such a plugin. Viewing .md files works as intended. But as mentioned in https://community.notepad-plus-plus.org/topic/17090/markdown-link-to-open-a-local-file/2 by PeterJones

the author(s) [...] didn’t choose to implement local/relative links inside the MarkdownViewer++ pane.

So I would currently prefer VSCode over Notepad++ due to the functionality provided by Microsoft (VSCode is able to follow/resolve relative .md file links).

matthewsheeran commented 3 months ago

I didn't know that VSCode could do that. There is also another polished product by the name of Obsidian that does it too, not that I have used it yet but have been meaning too. Markdown isn't so nice the read in the raw so a tool which easily displays the HTML previews is best.

On Mon, 1 Apr 2024, 9:51 pm robertgro, @.***> wrote:

This is not really an issue but a major suggestion. (I wanted to approach you on https://www.insanitydesign.com/ but the site appears to be down returning "Error establishing a database connection".)

It is as follows:

  • I have always wanted a text note taking app with linked notes using open standards and like the idea of this being a Plugin hosted in Notepad++.
  • I want clicking of relative (and absolute I guess) Markdown .md .markdown etc. links to open those linked Markdown documents.
  • When rendered as HTML I would like those relative Markdown extension links (only) to get automatically changed to .htm .html etc. whatever extension the output HTML extension is.
  • Clearly clicking the output links should also follow them. They should switch (or save) and open the backing Markdown source files also.

This a rather simple, elegant, but rather powerful way to get a linked Markdown Editor for notetaking turning MarkdownViewerPlusPlus into one!

I like the idea that much that if I cannot get traction from you I will consider developing my own Notepad++ Plugin to do so. I am also quiet happy to contribute to your code base and it is indeed a rather minor change and improvement and a lot less effort than developing a competing plugin from scratch for myself as you once did! The only other alternative being a fork..

  • The only other suggestion I have but probably an impossible one to deliver is to render the HTML output in the same window as the Markdown itself and be able to switch between the two views perhaps even keeping cursor page/line location. This one is a very big ask but the relative link changes for the above are almost trivial.

Kindest Regards, Matthew

I second this. Please enhance your plugin if possible.

At first, thank you for creating such a plugin. Viewing .md files works as intended. But as mentioned in https://community.notepad-plus-plus.org/topic/17090/markdown-link-to-open-a-local-file/2 by PeterJones https://community.notepad-plus-plus.org/user/peterjones

the author(s) [...] didn’t choose to implement local/relative links inside the MarkdownViewer++ pane.

So I would currently prefer VSCode over Notepad++ due to the functionality provided by Microsoft (VSCode is able to follow/resolve relative .md file links).

— Reply to this email directly, view it on GitHub https://github.com/nea/MarkdownViewerPlusPlus/issues/128#issuecomment-2029573941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVF56SEVVIK3OPOF5DM6MDY3E32ZAVCNFSM4QICCCNKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBSHE2TOMZZGQYQ . You are receiving this because you authored the thread.Message ID: @.***>