Skip to content

Commit

Permalink
Clean up default config spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
mojombo committed Dec 16, 2012
1 parent 583f9e0 commit 22f4b12
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 additions & 20 deletions lib/jekyll.rb
Expand Up @@ -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',

'future' => true,
'lsi' => false,
'pygments' => false,
'markdown' => 'maruku',
'permalink' => 'date',
'include' => ['.htaccess'],
'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'],
'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',
Expand All @@ -102,8 +105,9 @@ module Jekyll
'coderay_css' => 'style'
}
},
'redcloth' => {
'hard_breaks' => true

'redcloth' => {
'hard_breaks' => true
}
}

Expand Down

0 comments on commit 22f4b12

Please sign in to comment.