After a long delay I finally updated my Notepad++ plugin MarkdownViewer++.
Because of the many requests for more syntax support (especially pipe tables), I changed the internal converter library from CommonMark.net to Markdig.
By that, an update to CommonMark Spec 0.28 was achieved and support for a lot of extensions such as pipe and grid tables. You can check them out in the Readme.
Because of the good and constant feedback the MarkdownViewer++ plugin for Notepad++ is striving for improvements and more 🙂
With the newest release 0.6.0 several improvements, fixes and new features were integrated:
Now the plugin is Notepad++ x86 and x64 compatible
Updated dependencies for improved PDF exports
Several bugfixes
Added an options dialog to allow the customization of CSS, PDF exports, rendered files etc.
MarkdownViewer++ Options
The MarkdownViewer++ offers several options to customize your plugin experience. You can open the options dialog via the Plugins sub-menu.
General
On the General tab you can configure the file extensions the MarkdownViewer++ renderer should actually display. If the box is empty all files will be rendered. If you want to limit the rendering to certain file extensions list them in the textbox as comma-separated list without leading dot.
For example, if you only want to render txt, log and md files just type in "txt,log,md".
Please note that only file extensions are compared and no certain mime types or anything. If a text document is not named XYZ.txt it will not be rendered.
HTML
On the HTML tab you can fill in Custom CSS, which is used when rendering the MarkdownViewer++ preview as well as the exported HTML. Therefore, you are able to e.g. change bullet-point-list icons or sizes of headlines. The custom CSS textbox is limited to 32767 characters.
PDF
On the PDF tab you can set the orientation and page size of the exported PDF. The content is provided by the PDFSharp enumerations.
I am writing everything in Markdown syntax (you should see my many “notes.txt” or “notes.md” files ^^#) As such, I also export HTML and PDF files from them and I am constantly checking how it looks. 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 my local filesystem just didn’t seem reasonable and feasible anymore. That’s why I went for a MarkdownViewer++, with basic rendering, HTML and PDF export.
I made a Notepad++ plugin to render the current open (Markdown) file in a dockable window as a rendered HTML to see all changes and Markdown “beautified” in an instant. It can be found at GitHub MarkdownViewer++.
Current basic features are:
Dockable panel (toggle) with a rendered HTML of the currently selected file/tab
Go try, if you like to. And leave a comment, issue, suggestion etc. if it should be improved. It is not perfect, I know it underperforms with large documents and am working on it. But I am also happy about any feedback.