Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 282 Bytes
class EnkiFormatter
class << self
def format_as_xhtml(text)
Lesstile.format_as_xhtml(
text,
:text_formatter => lambda {|text| RedCloth.new(CGI::unescapeHTML(text)).to_html},
:code_formatter => Lesstile::CodeRayFormatter
)
end
end
end
Something went wrong with that request. Please try again.