Skip to content

Instantly share code, notes, and snippets.

@esperia
Created February 19, 2014 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esperia/9084802 to your computer and use it in GitHub Desktop.
Save esperia/9084802 to your computer and use it in GitHub Desktop.
brew install markdown
mkdir -p $HOME/Dev/markdown
curl -o $HOME/Dev/markdown/github.css -L https://gist.github.com/andyferra/2554919/raw/2e66cabdafe1c9a7f354aa2ebf5bc38265e638e5/github.css
@esperia
Copy link
Author

esperia commented Feb 19, 2014

To ~/.vimrc :

let g:quickrun_config['markdown'] = { 
    \ 'outputter': 'browser',
    \ 'command': 'markdown',
    \ 'exec': ['echo "<link rel=\"stylesheet\" href=\"$HOME/Dev/markdown/github.css\" />`%c %s`"']
    \ }

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