Class: Pekky::Format::Textile

Inherits:
Transformer show all
Defined in:
lib/pekky/format.rb

Overview

Formats textile markup into HTML.

Class Method Summary collapse

Methods inherited from Transformer

_filter, _format, name, singleton_method_added

Class Method Details

.format(text) ⇒ Object



184
185
186
# File 'lib/pekky/format.rb', line 184

def self.format(text)
  Tilt::RedClothTemplate.new {text}.render
end