Sha256: e9def14b2dfabb222c282bb48e7026ccf3f02f05577e1efc6bc92f37407aebb9
Contents?: true
Size: 379 Bytes
Versions: 1
Compression:
Stored size: 379 Bytes
Contents
#!/usr/bin/env ruby require 'flammarion' pwd = Dir.pwd f = Flammarion::Engraving.new(title:pwd) f.orientation = :horizontal f.markdown("Choose a file ->") f.pane("files", weight:0.3) (Dir["**/*.md"] + Dir["**/*.markdown"]).each do |file| f.pane("files", weight:0.3).button(file) do f.markdown(File.read(file), replace:true) end end f.wait_until_closed
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flammarion-utils-0.3.0 | bin/markdown-browser |