class Redcarpet


end
require ‘bluecloth’
rescue LoadError
BlueCloth = Redcarpet
require ‘redcarpet’
begin
require statements with the following:
Inject Redcarpet into your BlueCloth-using code by replacing your bluecloth
== Replacing BlueCloth
puts markdown.to_html
markdown = Redcarpet.new(“Hello World!”)
require ‘redcarpet’
by BlueCloth:
Redcarpet implements the basic protocol popularized by RedCloth and adopted
== Usage
Redcarpet is a drop-in replacement for BlueCloth, RedCloth and RDiscount.
Tomayko’s RDiscount, and inspired by Rick Astley wearing a kilt.
Redcarpet is Upskirt with a touch of Ruby. It is mostly based on Ryan
language. Upskirt is safe, fast and production ready.
Upskirt is an implementation of John Gruber’s Markdown markup

def generate_toc

def generate_toc
  raise NotImplementedError
end

def initialize(text, *extensions)

def initialize(text, *extensions)
  @text  = text
  extensions.each { |e| send("#{e}=", true) }
end