sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Kramdown::Converter::Pdf#with_block_padding
Move the prawn document cursor down before and/or after yielding the given block. The :top_padding and :bottom_padding options are used for determinig the padding amount.
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/kramdown/lib/kramdown/converter/pdf.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Kramdown--Converter--Pdf-with_block_padding-for-pr
# Commit to gitgit add app/server/ruby/vendor/kramdown/lib/kramdown/converter/pdf.rbgit commit -m "better docs for Kramdown::Converter::Pdf#with_block_padding"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Kramdown--Converter--Pdf-with_block_padding-for-pr
hub pull-request
# Celebrate!