Though not strictly being a viewer, I can recommend ReText here – which I'm using myself on Ubuntu, and am pretty satisfied.
runs locally on Linux: Yes (also on Windows and Mac)
normal program, not a browser addon: Yes. Written in Python, and easy to deal with.
simple and lightweight: Yes. On its own, it comes with the basics – and you can add more (like ...
Last update: 2020-04-09
Having a similar need to the OP, I searched the whole web for current solutions. There's no current perfect solution, but there are a few ones that might be worth a try.
Note that I had additional requirements to realtime/inline previewing, such as: multidocuments tabbing, table of contents for quick navigation, lightweight, markup ...
The best Markdown editor for any operating system that features a modern browser is StackEdit1.
Works offline - documents are saved in your browser's local storage, and can be opened from and saved to your local filesystem. Once loaded, the app's code is cached by your browser, and will open and work just fine with zero Internet ...
Mou has everything you've asked for.
If you have the preview pane open, it will update in close to real-time, though it's a little delayed if you type very quickly.
It speaks Markdown.
It lets you customize the editor theme and the preview pane.
It lets you choose the default file extension for saving (and .txt is included on its list).
I recommend Mozilla Thunderbird + Markdown Here add-on.
Mozilla Thunderbird is an open-source, cross platform e-mail client that is extendable with add-ons (plugins).
When you install the Markdown Here add-on, you will get a new toolbar button labeled "MD Toggle" on your message composition window. (Note: after you install, you may have to right-click ...
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 ...
Pandoc (License: GPL) can import:
and convert to these and various other formats. (Custom formats can be added with Lua.)
It’s a standalone command-line program and comes with a Haskell library.
You can test it online: http://johnmacfarlane.net/pandoc/try/
It displays a live view on the right side. You can see a full list of features on the website.
When starting MarkdownPad for the first time, it asks whether you want to buy the Pro version or use the free one. You can just click on "Use free" and it will never ask you again.
I have been using this for a year and it is my goto Markdown render-er. Here are its features:
Markdown? Github Flavored
It is a command line tool
There's also a work-in-progress branch to provide offline rendering
It is a command line tool
Open source? Yes
Export to PDF/HTML
Node.js Package Markdown-PDF should work well. I have been using the Grunt package of that, but just for the sake of a good answer I just quickly ran the the original via the command line; and yeap it works great.
So to use the CLI of Markdown-PDF just:
Install Node.js (if necessary)
Install Markdown-PDF - from cmdline just run npm install -g markdown-pdf
I'm using ReText for that. It's written in Python, so it should be cross-platform; in the project Wiki you can find detailed instructions on how to install ReText on Windows, as that's the platform you're using.
ReText does a great job for me on Linux. Supports a lot of "specific dialects" in addition to standard Markdown, like Michel Fortins Markdown Extra,...
There is a new kid on the block.
Github has recently open-sourced their internally developed editor — introducing Atom! As a full featured code editor and lightweight IDE, Atom may seem like a lot of application for writing a few markdown files, but I still think it's worth a shake. Atom may be full featured but it feels super light weight. It is loosely ...
Assuming your Windows OS has a browser, and you can find at least briefly a working Internet connection, you can use StackEdit
Works offline - documents are saved in your browser's local storage, and can be opened from and saved to your local filesystem. Once loaded, the app's code is cached by your browser, and will open and work just ...
Airmail.app supports Markdown editing with side-by-side preview.
Markdown can be activated per-account as the default, or per-email through a single click in the composer. As far as I know, it's a relatively vanilla Markdown -- no support for things like formulas or footnotes that would come from a Markdown variant, however since I use it pretty much ...
Another alternative you can choose is Github Atom.
Since nobody mentioned it, I give you the alternative editor which I use every time when I am working on a project. Github Atom is not only Markdown editor but also like other editor — text editor — but, you can hack the core. Answering your question, this editor supports live preview what you write on ...
An app that comes to mind is Byword.
From what I can see, it does use the Stack Exchange 'style' of markdown, runs natively, and features preview integration. I'm not sure if the preview is "live" but it will allow you to see / review your markdown before exporting / saving it. It is definitely universal (works on iPhone & iPad) and will even ...
I personally am a huge fan of pandoc.
Pandoc is the "swiss-army" knife tool of format conversions:
Its core source input format supported is Markdown (including any of the major MD "dialects" such as the flavors of GitHub and PHP plus several special extensions). Other input formats are: HTML, rST, Textile, DocBook XML, MediaWiki.
As output formats it ...
I see more programmers using Jekyll for their blogs lately. In ways, it covers the basics.
[x] Source code syntax highlighting (You may want to check this method)
[x] Free (it's closedly tied to free hosting in Github, via Github Pages)
I haven't done enough research on other platforms, but I am sure you can find ...
GitHub Gist supports MarkDown.
On the homepage enter your code, and select "Markdown" from the language list. You can publish your gist publicly (shows up in results of search engines) secretly (doesn't show up in search results, but the gist is still accessible for everyone who has the link).
Here's a basic example: gist.github.com/basilevs/...
I very strongly suspect there aren't any editors specifically like that.(edit: I stand corrected @Izzy) However with a bit of plugin and external software installation you can have SublimeText do that.
The result will look like this:
(from the author as I'm not going to be able to do better than that to show how good it is)
So the (unfortunately a little ...
Following is copy of https://stackoverflow.com/questions/9331281/how-can-i-test-what-my-readme-md-file-will-look-like-before-committing-to-github#40696607 by Brian Burns
Atom works nicely out of the box - just open the Markdown file and hit Ctrl+Shift+M to toggle the Markdown preview panel next to it. It handles HTML and images also.
Though note that ...
Emacs plus a markdown-to-html converter (there are many around, pandoc works well and supports many extensions) meets your absolute requirements.
The preview is not real-time. I've seen that done for LaTeX, but not for Markdown; in principle, the same approach should work, but it would involve a nontrivial amount of coding.
You get the benefit of a good ...
Haroopad is a cross-platform (Linux, OSX, Windows) Markdown editor GUI based on NodeJS that includes a live preview pane. In a lot of ways, it is similar to the Atom editor (in fact I suspect they share some node libraries) but the interface is tailored specifically for dealing with Markdown documents.
The preview pane updates in nearly real time (although ...
I would recommend Nikola - it is free, written in python and specifically offers:
Blogs, with tags, feeds, archives, comments, etc.
Fast builds, thanks to doit
Flexible, extensible via plugins
Small codebase (programmers can understand all of Nikola core in a
reStructuredText [Cheatsheet] or Markdown as input language (also
Wiki, BBCode, ...
I found something with the functionality I'm looking for!
StackEdit has a table of contents button on the upper right side that I'd missed before. (Lower right in StackEdit4). It brings up a menu that matches what you get from putting [TOC] in the Markdown. Clicking on any item in it brings both the editor and view panes to that location. It's exactly what ...
I've investigated another option. Compared to Markdown-PDF:
Actually makes proper links.
Actually slightly quicker to run
Not as "pretty" - except for the links everything looks nicer with Markdown-PDF. This would be easily fixable by adding some CSS to the HTML before PDF generation though*.
Installation is more complicated.