sonic-pi

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

C++

Code. Music. Live.

Kramdown::Parser::Base#add_text

This helper method adds the given +text+ either to the last element in the +tree+ if it is a
+type+ element or creates a new text element with the given +type+.

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/kramdown-2.1.0/lib/kramdown/parser/base.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Kramdown--Parser--Base-add_text-for-pr


# Commit to git

git add app/server/ruby/vendor/kramdown-2.1.0/lib/kramdown/parser/base.rbgit commit -m "better docs for Kramdown::Parser::Base#add_text"


# 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--Parser--Base-add_text-for-pr

hub pull-request


# Celebrate!