<b><big>mdview - markdown

<b>mdview</b> is a super light-weight, GTK-based markdown files viewer. It has no other dependencies other than GTK itself. It reads and displays text files in (a subset of) markdown format, and provide live links to other files as well as to the Internet. It is ideal for showing help files (its original purpose), user manuals, and other small set of hyperlinked markdown files.<br><br>

<img

<b>Subset of markdown that mdview supports</b>:
  *  Heading level 1,2,3
  *  Horizontal rules
  *  Single-level bullets (but no ordered list)
  *  Inline-code and codeblocks and Github code blocks (3 backticks)
  *  Hyperlinks (inline only)
  *  Inline images
  *  Inline formatting: italic, bold, smart double/single quotes, em-dash.
  *  Define text-domain for gettext translation (non-standard)

<code>mdview</code> can also convert the same subset of markdown to plain text, decorated plain text (with bold/underline compatible with console), and html. It will also use gettext automatically (it honours TEXTDOMAIN and TEXTDOMAINDIR). mdview can generate the .po translation source from the markdown file.

<b>Building</b>

There is no configure file. Just run <code>make</code>. It will create a small ~60K <code>mdview</code> executable that you can copy over and run from anywhere.

<b>History and original authors</b>

mdview uses a modified version of Robert Hughes markdown parser. There are many versions of Robert's parser spread across the internet (his "official" is probably the one included in gnome-packagekit); but the one that I use here originated from (from Leandro Pereira).

Leandro has enhanced Robert's original parser to support links and images, and built a with a GTK textview around it to render the Pango output from the parser. Hardinfo uses this as a help viewer.

I saw that the code was good but under-utilised in hardinfo, and I was in need of small help viewer, so I decided to take that, detached it from hardinfo dependency, fixed a few bugs and added a few more functionalities, and thus born "mdview".

<b>License</b>

GNU General Public License (GPL) version 2. This was the original license chosen by both Robert and Leandro.

<b>Similar programs</b>

  *  - uses Robert's parser too (with his own enhancements), but renders via webkitgtk.