beforeRunningCommand saveModifiedFiles command #!/usr/bin/env ruby require "#{ENV['TM_BUNDLE_SUPPORT']}/lib/wiki.rb" PlainTextWiki.new(ENV['TM_DIRECTORY']).export_as_html input none name Export Wiki as HTML… output discard scope text.html.markdown.wiki uuid FED9A9F7-1158-45DA-953B-543F1E43EA9E