From 02a26a3822915e910eb1b888565f9a989b64fcf8 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Wed, 15 Jul 2015 00:15:04 +0200 Subject: [PATCH] Just take all config from kramdown --- _plugins/kramdown-with-pygments/kramdown_pygments.rb | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/_plugins/kramdown-with-pygments/kramdown_pygments.rb b/_plugins/kramdown-with-pygments/kramdown_pygments.rb index 2a6e9f6..918e256 100644 --- a/_plugins/kramdown-with-pygments/kramdown_pygments.rb +++ b/_plugins/kramdown-with-pygments/kramdown_pygments.rb @@ -84,15 +84,6 @@ class Jekyll::Converters::Markdown::KramdownPygments end def convert(content) - html = Kramdown::Document.new(content, { - :auto_ids => @config['kramdown']['auto_ids'], - :footnote_nr => @config['kramdown']['footnote_nr'], - :entity_output => @config['kramdown']['entity_output'], - :toc_levels => @config['kramdown']['toc_levels'], - :smart_quotes => @config['kramdown']['smart_quotes'], - :kramdown_default_lang => @config['kramdown']['default_lang'], - :input => @config['kramdown']['input'] - }).to_pygments_html - return html; + Kramdown::Document.new(content, @config['kramdown']).to_pygments_html end end