Class: Schreihals::MarkdownRenderer
- Inherits:
-
Redcarpet::Render::HTML
- Object
- Redcarpet::Render::HTML
- Schreihals::MarkdownRenderer
- Includes:
- Redcarpet::Render::SmartyPants
- Defined in:
- lib/schreihals/post.rb
Instance Method Summary collapse
Instance Method Details
#block_code(code, language) ⇒ Object
8 9 10 |
# File 'lib/schreihals/post.rb', line 8 def block_code(code, language) CodeRay.highlight(code, language) end |