Module: Middleman::Rouge
- Defined in:
- lib/middleman-rouge/version.rb,
lib/middleman-rouge/extension.rb
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
- .registered(app) ⇒ Object (also: included)
Class Method Details
.registered(app) ⇒ Object Also known as: included
4 5 6 7 8 9 |
# File 'lib/middleman-rouge/extension.rb', line 4 def registered(app) require "redcarpet" require "rouge" require 'rouge/plugins/redcarpet' Redcarpet::Render::HTML.send :include, ::Rouge::Plugins::Redcarpet end |