From 22f4b12836b25e187cd6684a04911ddcb0c5e52c Mon Sep 17 00:00:00 2001 From: Tom Preston-Werner Date: Sat, 15 Dec 2012 22:09:21 -0800 Subject: [PATCH] Clean up default config spec. --- lib/jekyll.rb | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/lib/jekyll.rb b/lib/jekyll.rb index 65e16cdb..87984ecf 100644 --- a/lib/jekyll.rb +++ b/lib/jekyll.rb @@ -49,43 +49,46 @@ module Jekyll VERSION = '0.11.2' # Default options. Overriden by values in _config.yml or command-line opts. - # (Strings rather symbols used for compatability with YAML). + # Strings rather than symbols are used for compatability with YAML. DEFAULTS = { 'safe' => false, 'auto' => false, 'server' => false, 'server_port' => 4000, - 'source' => Dir.pwd, - 'destination' => File.join(Dir.pwd, '_site'), - 'plugins' => File.join(Dir.pwd, '_plugins'), - 'layouts' => '_layouts', + 'source' => Dir.pwd, + 'destination' => File.join(Dir.pwd, '_site'), + 'plugins' => File.join(Dir.pwd, '_plugins'), + 'layouts' => '_layouts', - 'future' => true, - 'lsi' => false, - 'pygments' => false, - 'markdown' => 'maruku', - 'permalink' => 'date', - 'include' => ['.htaccess'], + 'future' => true, + 'lsi' => false, + 'pygments' => false, + 'markdown' => 'maruku', + 'permalink' => 'date', + 'include' => ['.htaccess'], 'paginate_path' => 'page:num', - 'markdown_ext' => 'markdown,mkd,mkdn,md', - 'textile_ext' => 'textile', + 'markdown_ext' => 'markdown,mkd,mkdn,md', + 'textile_ext' => 'textile', - 'maruku' => { + 'maruku' => { 'use_tex' => false, 'use_divs' => false, 'png_engine' => 'blahtex', 'png_dir' => 'images/latex', 'png_url' => '/images/latex' }, - 'rdiscount' => { + + 'rdiscount' => { 'extensions' => [] }, - 'redcarpet' => { + + 'redcarpet' => { 'extensions' => [] }, - 'kramdown' => { + + 'kramdown' => { 'auto_ids' => true, 'footnote_nr' => 1, 'entity_output' => 'as_char', @@ -102,8 +105,9 @@ module Jekyll 'coderay_css' => 'style' } }, - 'redcloth' => { - 'hard_breaks' => true + + 'redcloth' => { + 'hard_breaks' => true } }