A clean, quick and simple Markdown viewer for Windows.
Preview and Edit local Markdown files.
The client is a very simple Windows Forms container for a CEFSharp browser component which is based on the Chromium Embedded Framework.
To format the Markdown for display, it is converted to HTML with MarkdownSharp, customized to properly format github style code blocks.
The HTML is styled with Bootstrap, and the code blocks are syntax highlighted with SyntaxHighlighter.
Markdown file editing is done using the wonderful SimpleMDE.
The application is actually a web site and it allows full customization of the GUI - including the option to change the entire page.
To customize the GUI you can either:
-
Edit the /Resources/HTML_TEMPLATE.html file. The styles are contained in /Resources/styles/app.css and the code is in /Resources/scripts/app.js
-
Create a new template. To configure the application to use your new template, open the MarkdownViewer.exe.config file and edit the configuration/userSettings/MarkdownViewer.Properties.Settings/setting element to point to your template.
We have that wonderfuly rare situation where we know exactly which browser the user will be using as we have the browser embedding in the application.
The Chromium Embedded Framework fully supports ECMAScript 2015 (ES6). No need for Babel.