module Creole2md
Constants
- VERSION
Public Instance Methods
convert(text)
click to toggle source
Convert text in creole markup to markdown. @param [String] @return [String]
# File lib/creole2md.rb, line 12 def convert(text) html = Creole.creolize(text) md = ReverseMarkdown.convert(html, github_flavored: true) end