Sha256: d3c6436407abc1cf8425d9b8ba1ea2eb636014107957ddc005a4049916673abc

Contents?: true

Size: 348 Bytes

Versions: 5

Compression:

Stored size: 348 Bytes

Contents

require 'redcarpet'
require 'md2man/roff'

module Md2Man
  class Engine < Redcarpet::Render::Base
    include Roff
  end

  ENGINE = Redcarpet::Markdown.new(
    Md2Man::Engine,
    :tables => true,
    :autolink => true,
    :superscript => true,
    :strikethrough => true,
    :no_intra_emphasis => true,
    :fenced_code_blocks => true
  )
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
md2man-1.2.1 lib/md2man/engine.rb
md2man-1.2.0 lib/md2man/engine.rb
md2man-1.1.0 lib/md2man/engine.rb
md2man-1.0.2 lib/md2man/engine.rb
md2man-1.0.1 lib/md2man/engine.rb