I have the newest version of RedCloth installed (3.0.4). I want the
following output:
Header
Some text
This is what I tried but no luck:
irb(main):002:0> require ‘rubygems’
=> true
irb(main):004:0> require_gem ‘RedCloth’
=> true
irb(main):006:0> RedCloth.new(“h1. Header\r\nSome Text”).to_html
=> “
Header\nSome Text
”Any ideas?
Rob