convert markdown file to pdf
- Install dependencies
brew install ghostscript
npm install gitbook
npm install gitbook-pdf -g
- Install md2pdf
wget https://raw.githubusercontent.com/smallmuou/md2pdf/master/md2pdf
chmod +x md2pdf
sudo cp md2pdf /usr/local/bin
md2pdf hello.md hello.pdf