Support missing kramdown coderay option

This commit is contained in:
maul.esel 2013-07-22 15:50:18 +02:00
parent 955f913f04
commit 5efadd6674
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ module Jekyll
def convert(content)
# Check for use of coderay
if @config['kramdown']['use_coderay']
%w[wrap line_numbers line_numbers_start tab_width bold_every css].each do |opt|
%w[wrap line_numbers line_numbers_start tab_width bold_every css default_lang].each do |opt|
key = "coderay_#{opt}"
@config['kramdown'][key.to_sym] = @config['kramdown']['coderay'][key] unless @config['kramdown'].has_key? key
end