sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

Kramdown::Converter::Pdf#text_hash

Helper function that returns a hash with valid "formatted text" options.

The +text+ parameter is used as value for the :text key and if +squeeze_whitespace+ is
+true+, all whitespace is converted into spaces.

Source | Google | Stack overflow

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 branch

git checkout -b -your-name--update-docs-Kramdown--Converter--Pdf-text_hash-for-pr


# Commit to git

git add app/server/ruby/vendor/kramdown/lib/kramdown/converter/pdf.rbgit commit -m "better docs for Kramdown::Converter::Pdf#text_hash"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Kramdown--Converter--Pdf-text_hash-for-pr

hub pull-request


# Celebrate!