Its not really simple and lightweight, but
You can use Visual Studio Code, it has a Markdown preview built-in. This way you can view the source and the rendered preview side-by-side.
To display images in-line (at this time) you need to install an extension, Markdown Preview Enhanced by Yiyi Wang.
"Markdown Preview Enhanced is an extension that provides ...
I use Typora free (commercial license, not open source) markdown editor for Windows/Mac/Linux because it works very fast. The latest version of Typora is currently a beta version and it's free software, but Typora may cost something in the future.
Typora can capture rich content directly from word processors and webpages, convert it directly into markdown ...
If you work a lot with Notepad++ (GPLv2), you can install the MarkdownViewerPlusPlus plugin (MIT License):
(According to the Github page, this plugin works for 32 and 64 bits)
Alternativelly, you can use the NppMarkdownPanel plugin (MIT License):
(According to the Github page, this plugin also works for 32 and 64 bits)
Both options can be installed from ...
CuteMarkEd is a free and open source markdown editor. It fits all listed requirements:
Simple and lightweight: Download the zip file extract and finished (no Installation required, Zip file is currently 37 MByte)
It's open source (Github)
You can view the formatted content.
I like using one program for everything. I use SublimeText, which is free for evaluation just like WinRar, for almost any text editing purposes and there's almost always a plugin for a certain type of file. The plugins are also mostly open source so you can edit them to your liking.
After re-reading the question, I've found what I used to use for this ...
I would recommend Atom editor. You will need to install Markdown Preview but a big advantage is that there is large amount of additional plugins for handling markdown. The preview is opened via Ctrl + Shift + M.
Atom is available for Windows, Mac and Linux.
Personally, I quite like Haroopad. It is pretty simple, but also pretty quick. It updates visualization as I go and synchronizes scrolling source -> view. Which is pretty much what I need.
I mainly use other softwares on linux for my markdowns, but when I need to edit them in windows I use ghostwriter. It may lack some advanced features (e.g. external themes/fonts support), but it is a great editor.
Below you can see an example of the live HTML preview
Visual Studio Code supports Markdown with a preview pane:
Just click "Open Preview"
Or from the Command Palette:
From Ivan's answer on another question:
VS Code supports highlighting, live preview, header folding, and other Markdown features (see an official description).
Moreover, there are plenty of markdown plugins that improve productivity: Code ...
I've been using forestry.io with gatsby and Hugo (static site generators).
You can import your git repo
Any changes you make into your .md files via forestry's wysiwyg editor are automatically committed to the origin and if you have integrated CI/CD, they are automatically deployed.
To make your page look fancy, I suggest you look into GitHub pages: ...
markdown-it does the trick. The easiest way for one time users is going to:
pasting the markdown on the left side and copying HTML from the right side. This can be further processed with your browser or wkhtmltopdf to generate a PDF.
ReText is a simple editor for Markdown and reStructuredText markup languages. ReText is open source and cross platform, and it is in the default repositories of many popular Linux distributions. ReText supports tabs, live text preview and syntax highlighting. Supported additional export formats are HTML, ODT and PDF.
I used ReText for years. It is ...
Why not trying https://github.com/JPro-one/markdown-javafx-renderer? It is based on flexmark-java.
Example application: https://github.com/jpro-one/markdown-javafx-renderer/blob/master/example/src/main/java/com/sandec/mdfx/ExampleMDFX.java
MDFXNode mdfx = new MDFXNode("your-markdown");
I found this one quite handy. It is a ruby gem, that allows CLI viewing of Markdown files.
if you are using Ubuntu:
sudo apt install ruby
sudo gem install mdless