Skip to content

Commit 22f4b12

Browse files
committed
Clean up default config spec.
1 parent 583f9e0 commit 22f4b12

File tree

1 file changed

+24
-20
lines changed

1 file changed

+24
-20
lines changed

lib/jekyll.rb

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -49,43 +49,46 @@ module Jekyll
4949
VERSION = '0.11.2'
5050

5151
# Default options. Overriden by values in _config.yml or command-line opts.
52-
# (Strings rather symbols used for compatability with YAML).
52+
# Strings rather than symbols are used for compatability with YAML.
5353
DEFAULTS = {
5454
'safe' => false,
5555
'auto' => false,
5656
'server' => false,
5757
'server_port' => 4000,
5858

59-
'source' => Dir.pwd,
60-
'destination' => File.join(Dir.pwd, '_site'),
61-
'plugins' => File.join(Dir.pwd, '_plugins'),
62-
'layouts' => '_layouts',
63-
64-
'future' => true,
65-
'lsi' => false,
66-
'pygments' => false,
67-
'markdown' => 'maruku',
68-
'permalink' => 'date',
69-
'include' => ['.htaccess'],
59+
'source' => Dir.pwd,
60+
'destination' => File.join(Dir.pwd, '_site'),
61+
'plugins' => File.join(Dir.pwd, '_plugins'),
62+
'layouts' => '_layouts',
63+
64+
'future' => true,
65+
'lsi' => false,
66+
'pygments' => false,
67+
'markdown' => 'maruku',
68+
'permalink' => 'date',
69+
'include' => ['.htaccess'],
7070
'paginate_path' => 'page:num',
7171

72-
'markdown_ext' => 'markdown,mkd,mkdn,md',
73-
'textile_ext' => 'textile',
72+
'markdown_ext' => 'markdown,mkd,mkdn,md',
73+
'textile_ext' => 'textile',
7474

75-
'maruku' => {
75+
'maruku' => {
7676
'use_tex' => false,
7777
'use_divs' => false,
7878
'png_engine' => 'blahtex',
7979
'png_dir' => 'images/latex',
8080
'png_url' => '/images/latex'
8181
},
82-
'rdiscount' => {
82+
83+
'rdiscount' => {
8384
'extensions' => []
8485
},
85-
'redcarpet' => {
86+
87+
'redcarpet' => {
8688
'extensions' => []
8789
},
88-
'kramdown' => {
90+
91+
'kramdown' => {
8992
'auto_ids' => true,
9093
'footnote_nr' => 1,
9194
'entity_output' => 'as_char',
@@ -102,8 +105,9 @@ module Jekyll
102105
'coderay_css' => 'style'
103106
}
104107
},
105-
'redcloth' => {
106-
'hard_breaks' => true
108+
109+
'redcloth' => {
110+
'hard_breaks' => true
107111
}
108112
}
109113

0 commit comments

Comments
 (0)