sonic-pi

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

C++

Code. Music. Live.

Kramdown::Parser::Html::Parser#parse_raw_html

Parse raw HTML from the current source position, storing the found elements in +el+.
Parsing continues until one of the following criteria are fulfilled:

- The end of the document is reached.
- The matching end tag for the element +el+ is found (only used if +el+ is an HTML
  element).

When an HTML start tag is found, processing is deferred to #handle_html_start_tag,
providing the block given to this method.

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/html.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Kramdown--Parser--Html--Parser-parse_raw_html-for-pr


# Commit to git

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


# 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--Html--Parser-parse_raw_html-for-pr

hub pull-request


# Celebrate!