Mercurial > hg > soundsoftware-site
annotate vendor/gems/coderay-0.9.7/lib/coderay/style.rb @ 503:5d608412b003 feature_212
Pull out font name specifications from stylesheets and serve differently to different platforms (falling back to our usual web fonts). Fixes #212
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 14 Jul 2011 10:14:03 +0100 |
parents | 0579821a129a |
children |
rev | line source |
---|---|
Chris@0 | 1 module CodeRay |
Chris@0 | 2 |
Chris@0 | 3 # This module holds the Style class and its subclasses. |
Chris@0 | 4 # |
Chris@0 | 5 # See Plugin. |
Chris@0 | 6 module Styles |
Chris@0 | 7 extend PluginHost |
Chris@0 | 8 plugin_path File.dirname(__FILE__), 'styles' |
Chris@0 | 9 |
Chris@0 | 10 class Style |
Chris@0 | 11 extend Plugin |
Chris@0 | 12 plugin_host Styles |
Chris@0 | 13 |
Chris@0 | 14 DEFAULT_OPTIONS = { } |
Chris@0 | 15 |
Chris@0 | 16 end |
Chris@0 | 17 |
Chris@0 | 18 end |
Chris@0 | 19 |
Chris@0 | 20 end |