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`.
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 branchgit checkout -b -your-name--update-docs-Rouge--Formatters--HTML-initialize-for-pr
# Commit to gitgit add app/server/ruby/vendor/rouge/lib/rouge/formatters/html.rbgit commit -m "better docs for Rouge::Formatters::HTML#initialize"
# Open pull requestgem 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!