lib/jekyll/converters/markdown.rb in jekyll-3.0.0.pre.beta2 vs lib/jekyll/converters/markdown.rb in jekyll-3.0.0.pre.beta3

- old
+ new

@@ -11,11 +11,10 @@ @parser = case @config['markdown'].downcase when 'redcarpet' then RedcarpetParser.new(@config) when 'kramdown' then KramdownParser.new(@config) when 'rdiscount' then RDiscountParser.new(@config) - when 'maruku' then MarukuParser.new(@config) else # So they can't try some tricky bullshit or go down the ancestor chain, I hope. if allowed_custom_class?(@config['markdown']) self.class.const_get(@config['markdown']).new(@config) else @@ -27,20 +26,18 @@ @setup = true end def valid_processors %w[ - maruku rdiscount kramdown redcarpet ] + third_party_processors end def third_party_processors self.class.constants - %w[ KramdownParser - MarukuParser RDiscountParser RedcarpetParser PRIORITIES ].map(&:to_sym) end