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

Version Path
plezi-0.12.22 resources/slim_config.rb
plezi-0.12.21 resources/slim_config.rb
plezi-0.12.20 resources/slim_config.rb
plezi-0.12.19 resources/slim_config.rb
plezi-0.12.18 resources/slim_config.rb
plezi-0.12.17 resources/slim_config.rb
plezi-0.12.16 resources/slim_config.rb
plezi-0.12.15 resources/slim_config.rb
plezi-0.12.14 resources/slim_config.rb
plezi-0.12.13 resources/slim_config.rb
plezi-0.12.11 resources/slim_config.rb
plezi-0.12.10 resources/slim_config.rb
plezi-0.12.9 resources/slim_config.rb
plezi-0.12.8 resources/slim_config.rb
plezi-0.12.7 resources/slim_config.rb
plezi-0.12.6 resources/slim_config.rb
plezi-0.12.5 resources/slim_config.rb
plezi-0.12.4 resources/slim_config.rb
plezi-0.12.3 resources/slim_config.rb
plezi-0.12.2 resources/slim_config.rb