Sha256: b23e06796cd8f58c59268ccb60b3f0fdbe847abbdbeef1e63e76a82f6b29a3ac

Contents?: true

Size: 238 Bytes

Versions: 5

Compression:

Stored size: 238 Bytes

Contents

require 'redcarpet'

module Jazzy
  class JazzyHTML < Redcarpet::Render::HTML
    def paragraph(text)
      "<p class=\"para\">#{text}</p>"
    end
  end

  def self.markdown
    @markdown ||= Redcarpet::Markdown.new(JazzyHTML)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jazzy-0.0.10 lib/jazzy/jazzy_markdown.rb
jazzy-0.0.9 lib/jazzy/jazzy_markdown.rb
jazzy-0.0.8 lib/jazzy/jazzy_markdown.rb
jazzy-0.0.7 lib/jazzy/jazzy_markdown.rb
jazzy-0.0.6 lib/jazzy/jazzy_markdown.rb