[New Plugin] MarkdownViewer++
As I wasn’t able to find something similar very quickly (there probably is. . .), I decided to build a plugin to render the current file in a dockable window as a rendered HTML to see all changes and markup “beautified” in an instant. It can be found at GitHub MarkdownViewer++.
Why? What for?
I am writing everything in Markdown syntax ^^# As such, I also export HTML and PDF files and I am constantly checking how it looks etc. So far, I was using Dillinger or StackEdit. Great tools, actually awesome. That is why I used them for years now.
But, Notepad++ is my main editor, opened 24/7 basically. And to always track my files in the browser and “export” them to local directories just didn’t seem right anymore. That is why I went for a MarkdownViewer++, with basic rendering, HTML and PDF export.
It is my first Notepad++ plugin and credits goes to all the people in the README.md as I just assembled the their functionality to my current application case :)
So, I just did it for my own use case. But if it finds at least one additional (and happy) user, I will be happy, too ^^ The releases can be found here. Go try, if you like to.
I am eager for feedback. Found issues, bugs, potential enhancements etc. and will be happy to fix and add them. There are some open topics such as performance in big documents etc. which I am aware of and working on. But more feedback just increases the quality :) So, if you have any suggestions, just use the GitHub tracker and I will respond.
Thanks a lot and Best
Ok, I see now.
Update 0.7.0 has just been released.
Some more new features/additions have been made besides some smaller bugfixing:
- Added a menu action to print the rendered content directly
- Added margins configuration for PDF exports
- Added a menu action to copy the rendered content to the clipboard
- Added options to open an exported PDF/HTML after the action completed
- Added a menu action to send content as HTML/Text E-mail (requires Outlook)
You can find the newest release at https://github.com/nea/MarkdownViewerPlusPlus/releases
Should you discover any bugs, post them at https://github.com/nea/MarkdownViewerPlusPlus/issues and I will get to it as fast as I possibly can.
Thanks a lot and Cheers
This post is deleted!last edited by
@nea This is one of those times, I come across something and feel the need to slap myself on the forehead and go “DOOH” Homer Simpson-style… A lot of colleagues and I work A LOT with markdown since it’s fast to write, and very little effort to write a lot of descriptive text - for instance complex unstructured datasets while research is ongoing - and still make it look good and professional… only downside with describing datasets is, that there is NO way around not checking regularly to how it looks in output, especially since records or JSON sets can get very long - describing fields in blocks lining up with what could be a relationship… writing them in an online tool isn’t ideal and so wasn’t switching between windows either… and that’s why not thinking of a plugin myself or any colleague I regularly work together with, is pretty stupid actually for a bunch of scientists :-) Shows again that visionaries in one field, can be blind as a bat in a different field :-) I like the plugin a lot sofar and had no trouble in convincing others to give it a go… sending the link to your github did the trick :-) Thank you !
Would you consider a dark theme option for those of us that enjoy to work in the dark?
Fantastic plugin! I was looking for something just like this … even better that it is a Notepad++ plugin. The ability to use a custom .css is a great feature!
However, the only issue that I am having is that images do not display in viewer nor or they picked up when I export to PDF. However, they are present when I export to HMTL. This occurrs for both PNG and JPG files.
I use thing the following to include images:
Thank you very much for that great tool ! Although I am already happy and have gotten more than I expected, I will gladly follow any improvement. One very little improvement for new users may be to set the “synchronize” checkmark to “on” as default, ;-) .
After a long idle period (really sorry about that) I just updated to 0.8.0:
- Changed CommonMark converter to Markdig to support more custom Markdown syntax such as Pipe Tables etc.
- Updated PDFSharp and HTMLRenderer.PDFSharp accordingly (custom compilation, not in NuGet for the moment as HTMLRenderer has to merge my PR first!)
- Updated the NPP.net Plugin Template
You can find the newest release at https://github.com/nea/MarkdownViewerPlusPlus/releases/tag/0.8.0
Regarding all the issues: I have not forgotten about them but have to find the time and will get onto them ^^
An unfortunate old bug stumbled back into release 0.8.0 why I just released a small update:
- Fixed a bug cutting off text after 10000 characters
- Changed parsing of custom CSS to recognize @import statements and have them lead
You can find the newest release at https://github.com/nea/MarkdownViewerPlusPlus/releases/tag/0.8.1
Really sorry about that