Mercurial > hg > soundsoftware-site
view vendor/gems/coderay-0.9.7/lib/coderay/encoders/div.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 |
line wrap: on
line source
module CodeRay module Encoders load :html class Div < HTML FILE_EXTENSION = 'div.html' register_for :div DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \ :css => :style, :wrap => :div end end end