Sha256: 688e1a9e754df234f45684f710c93898bda109aaba18b197c37040f0b51eee0d
Contents?: true
Size: 217 Bytes
Versions: 3
Compression:
Stored size: 217 Bytes
Contents
# Create a custom renderer that allows highlighting of code blocks class Redcarpet::Render::HTMLWithAlbino < Redcarpet::Render::HTML def block_code(code, language) Albino.colorize(code, language) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
blogit-1.1.1 | lib/blogit/renderers/html_with_albino.rb |
blogit-1.1.0 | lib/blogit/renderers/html_with_albino.rb |
blogit-1.0.0 | lib/blogit/renderers/html_with_albino.rb |