Class: Pekky::Format::Markdown
- Inherits:
-
Transformer
- Object
- Transformer
- Pekky::Format::Markdown
- Defined in:
- lib/pekky/format.rb
Overview
Formats markdown into HTML.
Class Method Summary collapse
Methods inherited from Transformer
_filter, _format, name, singleton_method_added
Class Method Details
.format(text) ⇒ Object
191 192 193 |
# File 'lib/pekky/format.rb', line 191 def self.format(text) Tilt::RDiscountTemplate.new {text}.render end |