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 ...
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 ...
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 ...
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.
Okular has a Markdown backend, which allows it to display Markdown-formated text. On Debian-based systems (like Ubuntu) you might have to install the okular-extra-backends package to use it.
The nice thing about Okular is that it is just a plain viewer. You can use your text editor of choice, and as soon as you save the Markdown document, Okular reloads the ...
There is also an amazing one here on GitHub appropriately named Glow... It's absolutely lightweight. You don't even need to leave the terminal. Works on Linux, Mac and Windows.
Here's a simple markdown text I created quickly to view with Glow. It only consists of an ordinary(non-marked-down) line of text, an H1 header, a horizontal rule, a block quote line, ...
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
You might want to try
display simultaneously file tree and editor area (and be able to switch between files); CHECK
support markdown format (highlight markdown format and display formatted preview); CHECK
(nice to have) be able to display TOC generated from markdown headers in file; CHECK
be open source and work under Linux. CHECK
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