module Textile2md

Constants

VERSION

Public Class Methods

convert(textile) click to toggle source
# File lib/textile2md.rb, line 6
def self.convert(textile)
  html = RedCloth.new(textile).to_html
  markdown = ReverseMarkdown.convert(html)

  markdown
end