From 5efadd6674002f8c9f4cb75fbf832f386eb88849 Mon Sep 17 00:00:00 2001 From: "maul.esel" Date: Mon, 22 Jul 2013 15:50:18 +0200 Subject: [PATCH] Support missing kramdown coderay option --- lib/jekyll/converters/markdown/kramdown_parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/converters/markdown/kramdown_parser.rb b/lib/jekyll/converters/markdown/kramdown_parser.rb index 1d4d2d3a..2aefdf8f 100644 --- a/lib/jekyll/converters/markdown/kramdown_parser.rb +++ b/lib/jekyll/converters/markdown/kramdown_parser.rb @@ -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