Class: Bullet::Notification::Base::HTMLwithPygments
- Inherits:
-
Redcarpet::Render::HTML
- Object
- Redcarpet::Render::HTML
- Bullet::Notification::Base::HTMLwithPygments
- Defined in:
- lib/bullet/notification/base.rb
Instance Method Summary collapse
Instance Method Details
#block_code(code, language) ⇒ Object
70 71 72 |
# File 'lib/bullet/notification/base.rb', line 70 def block_code(code, language) Pygments.highlight(code, :lexer => language) end |