lib/md2man/html/engine.rb in md2man-1.6.2 vs lib/md2man/html/engine.rb in md2man-2.0.0
- old
+ new
@@ -1,13 +1,12 @@
require 'redcarpet'
require 'md2man/html'
-module Md2Man
-module HTML
+module Md2Man::HTML
class Engine < Redcarpet::Render::HTML
- include HTML
+ include Md2Man::HTML
end
ENGINE = Redcarpet::Markdown.new(Engine,
:tables => true,
:autolink => true,
@@ -15,7 +14,6 @@
:strikethrough => true,
:no_intra_emphasis => false,
:fenced_code_blocks => true
)
-end
end