#!/usr/bin/env ruby require 'github/markup' require 'mdv' Gtk.init WebKit2::WebContext.get_default.set_cache_model :document_viewer file = ARGV[0] raise 'Need file' unless file MDV::MarkdownViewer.new file Gtk.main