This may or may not help you depending on which RedCloth functionality you need.

>From http://redcloth.rubyforge.org/classes/RedCloth/TextileDoc.html


lite_mode  [RW]  Accessor for toggling lite mode.

In lite mode, block-level rules are ignored. This means that tables,
paragraphs, lists, and such aren't available. Only the inline markup
for bold, italics, entities and so on.

  r = RedCloth.new( "And then? She *fell*!", [:lite_mode] )
  r.to_html
  #=> "And then? She <strong>fell</strong>!"

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to