View on GitHub

markdown_viewer

A GTK3 Markdown viewer

Download this project as a .zip file Download this project as a tar.gz file

Description

A simple Python + GTK3 + WebKit based Markdown viewer.

The application can also open 'Compressed Markdown Files', which are regular ZIP archives with the extension '.mdz' that contain a markdown file in their root named with the same name as the ZIP archive.

For example the archive named 'test.mdz' should contain a Markdown file named 'test.md' in its root along with any other files (e.g. images) the Markdown file references (each placed in the correct relative path).

The generated HTML document will try to load the following CSS files:

The bundled JQuery, TOC.js and markdown_viewer.js are the first scripts that are loaded.

The generated HTML5 document will try to load any '.js' files in the same directory with the Markdown file in ascending alphabetical order.

Highlighted code by the codehilite extension is assigned the '.code' CCS class.

Screenshots

markdown_viewer screenshot

Requirements