After a long delay I finally updated my Notepad++ plugin MarkdownViewer++.
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.
The MarkdownViewer++ offers several options to customize your plugin experience. You can open the options dialog via the Plugins sub-menu.
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.
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.
On the PDF tab you can set the orientation and page size of the exported PDF. The content is provided by the PDFSharp enumerations.
Long time no see and back with a new project ^^
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
- CommonMark compliant (0.27)
- Links open in a separate Browser
- Basic HTML Export
- Basic PDF Export
- Unicode Notepad++ 32-bit plugin
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.