Sha256: b01996a5074f56081110e2024d3deb2707a704636108894a137049095c641e4a

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

require "java"
require "markdownj/markdownj-1.0.2b4-0.3.0.jar"

module Markdownj
  java_import "com.petebevin.markdown.MarkdownProcessor"

  class << self
    def to_html(string)
      MarkdownProcessor.new.markdown(string)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdownj-0.1.0-java lib/markdownj.rb