Class: Capuchin::HighlightingRenderer
- Inherits:
-
Redcarpet::Render::HTML
- Object
- Redcarpet::Render::HTML
- Capuchin::HighlightingRenderer
- Defined in:
- lib/capuchin/markdown.rb
Instance Method Summary collapse
Instance Method Details
#block_code(code, language) ⇒ Object
3 4 5 |
# File 'lib/capuchin/markdown.rb', line 3 def block_code(code, language) CodeRay.highlight(code, language) end |