Sha256: 9843ad475297b6afed59d2c9ae068381b1ceab7c787bbe2c651fd7c0faecf5d5
Contents?: true
Size: 364 Bytes
Versions: 31
Compression:
Stored size: 364 Bytes
Contents
# encoding: UTF-8 if defined?(Slim) require 'rouge/plugins/redcarpet' if defined?(Redcarpet) && defined?(Rouge) if defined?(Redcarpet::Render::HTML) && defined?(Rouge::Plugins::Redcarpet) Slim::Embedded.options[:markdown] = { fenced_code_blocks: true, renderer: (Class.new(Redcarpet::Render::HTML) {include Rouge::Plugins::Redcarpet} ).new } end end
Version data entries
31 entries across 31 versions & 1 rubygems