Class | Nanoc::Filters::RedCloth |
In: |
lib/nanoc/filters/redcloth.rb
|
Parent: | Nanoc::Filter |
Runs the content through [RedCloth](redcloth.org/). This method takes the following options:
Each of these options sets the corresponding attribute on the `RedCloth` instance. For example, when the `:hard_breaks => false` option is passed to this filter, the filter will call `r.hard_breaks = false` (with `r` being the `RedCloth` instance).
@param [String] content The content to filter
@return [String] The filtered content