Sha256: 3204750fedb78bfbf9a4538e4654f655a59b9f0ce85bc12b6dbcb4aa09b8dba6

Contents?: true

Size: 227 Bytes

Versions: 2

Compression:

Stored size: 227 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mdv-0.5.1 bin/mdv
mdv-0.5.0 bin/mdv