Skip to content

Instantly share code, notes, and snippets.

View adunning's full-sized avatar
💭
I may be slow to respond.

Andrew Dunning adunning

💭
I may be slow to respond.
View GitHub Profile
@bsag
bsag / panda.rb
Created December 3, 2012 18:49
Wrapper script for Pandoc. Sets some defaults and makes it easier to generate the small range of output formats I use. Requires the 'commander' gem.
#!/usr/bin/env ruby
require 'rubygems'
require 'commander/import'
program :version, '0.1'
program :description, 'Converts markdown documents into a variety of default formats using Pandoc'
CMD = "pandoc"
BIB = "$HOME/Dropbox/Documents/bibtex/all-refs.bib"