Class: FrenchPress::Post::Markdown
- Defined in:
- lib/frenchpress/post/markdown.rb
Overview
Represents a Markdown post.
Instance Attribute Summary
Attributes inherited from Generic
Instance Method Summary collapse
Methods inherited from Generic
#assign_variables, #derive_variables, #initialize, #render_as_quote, #render_with_tags, #tags
Constructor Details
This class inherits a constructor from FrenchPress::Post::Generic
Instance Method Details
#render ⇒ Object
7 8 9 |
# File 'lib/frenchpress/post/markdown.rb', line 7 def render Redcarpet::Markdown.new(Redcarpet::Render::HTML).render @content end |