Skip to content

Instantly share code, notes, and snippets.

@mrgleeco
Last active August 29, 2015 13:56
Show Gist options
  • Save mrgleeco/9093432 to your computer and use it in GitHub Desktop.
Save mrgleeco/9093432 to your computer and use it in GitHub Desktop.
markdown slides on mac

installation on mac osx:

/usr/local/bin/gem install mdpress

path is non-std for me:

alias mdpress=/usr/local/Cellar/ruby/2.1.0/bin/mdpress

create the project, simply:

$ vim foo.md

now run compiler in watch mode:

$ mdpress -a foo.md

....this creates a dir called foo with js / css / etc.

check it in browser:

file:///Users/gleeco/path/to/foo/index.html

PRO tip: run chrome w/ developer panel open and cache disabled as you edit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment