Class: Schreihals::MarkdownRenderer

Inherits:
Redcarpet::Render::HTML
  • Object
show all
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