Sha256: 37e28c9582c1b308bce9d6c2e34422ccf50bdcb208ab606de14cc4a236c6b9d1
Contents?: true
Size: 232 Bytes
Versions: 11
Compression:
Stored size: 232 Bytes
Contents
require 'bluecloth' require 'rubypants/rubypants' class MarkdownFilter < TextFilter description_file File.dirname(__FILE__) + "/../markdown.html" def filter(text) RubyPants.new(BlueCloth.new(text).to_html).to_html end end
Version data entries
11 entries across 11 versions & 1 rubygems