Sha256: 872a1709ebfe4cdced18beabfa5df76e40cec744d7472c89b6cf51cae6a8da20
Contents?: true
Size: 363 Bytes
Versions: 8
Compression:
Stored size: 363 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
8 entries across 8 versions & 1 rubygems