1
Fork 0

Just take all config from kramdown

This commit is contained in:
Jan-Erik Rediger 2015-07-15 00:15:04 +02:00
parent a16c17e412
commit 02a26a3822

View file

@ -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