Class: Howl::MarkdownConverter

Inherits:
Converter show all
Defined in:
lib/howl/converters/markdown.rb

Constant Summary

Constants inherited from Plugin

Plugin::PRIORITIES

Instance Attribute Summary

Attributes inherited from Converter

#extension

Instance Method Summary collapse

Methods inherited from Converter

converts, #initialize, matches?

Methods inherited from Plugin

<=>, inherited, priority, subclasses

Constructor Details

This class inherits a constructor from Howl::Converter

Instance Method Details

#convert(text) ⇒ Object



10
11
12
# File 'lib/howl/converters/markdown.rb', line 10

def convert(text)
  RDiscount.new(text).to_html
end