sonic-pi

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

C++

Code. Music. Live.

Rouge::Formatters::HTML#initialize

Initialize with options.

If `:inline_theme` is given, then instead of rendering the
tokens as <span> tags with CSS classes, the styles according to
the given theme will be inlined in "style" attributes.  This is
useful for formats in which stylesheets are not available.

Content will be wrapped in a tag (`div` if tableized, `pre` if
not) with the given `:css_class` unless `:wrap` is set to `false`.

Source | Google | Stack overflow

Edit

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

cd sonic-pi

open app/server/ruby/vendor/rouge/lib/rouge/formatters/html.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rouge--Formatters--HTML-initialize-for-pr


# Commit to git

git add app/server/ruby/vendor/rouge/lib/rouge/formatters/html.rbgit commit -m "better docs for Rouge::Formatters::HTML#initialize"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Rouge--Formatters--HTML-initialize-for-pr

hub pull-request


# Celebrate!