Use Redcarpet Compatibility Layer
masterIf you are migrating from RedCloth and need the old API, you can use the compatibility library. This provides a Markdown class that renders 100% standards-compliant Markdown with zero extensions enabled.
require 'redcarpet/compat'
# Uses the classical RedCloth API
Markdown.new('this is my text').to_html