sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Kramdown::Parser::Kramdown#parse_spans
Parse all span-level elements in the source string of @src into +el+. If the parameter +stop_re+ (a regexp) is used, parsing is immediately stopped if the regexp matches and if no block is given or if a block is given and it returns +true+. The parameter +parsers+ can be used to specify the (span-level) parsing methods that should be used for parsing. The parameter +text_type+ specifies the type which should be used for created text nodes.
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/kramdown.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Kramdown--Parser--Kramdown-parse_spans-for-pr
# Commit to gitgit add app/server/ruby/vendor/kramdown-2.1.0/lib/kramdown/parser/kramdown.rbgit commit -m "better docs for Kramdown::Parser::Kramdown#parse_spans"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Kramdown--Parser--Kramdown-parse_spans-for-pr
hub pull-request
# Celebrate!