Module: Cadmus::Renderers
- Defined in:
- lib/cadmus/renderers.rb,
lib/cadmus/markdown.rb
Overview
A Cadmus renderer is an object that handles the rendering of +Liquid::Template+s to output formats such as HTML or plain text. A renderer provides several features over and above what plain Liquid does:
- Automatic removal of HTML tags for plain text output
- Integration with Rails 3's HTML escaping functionality
- Ability to specify default assigns, filters, and registers and augment them on a per-call basis
- Ability to render to multiple output formats from a single renderer