NOTE: This converter requires Sequel and the MySQL gems. The MySQL gem can be difficult to install on OS X. Once you have MySQL installed, running the following commands should work: $ sudo gem install sequel $ sudo gem install mysql — —with-mysql-config=/usr/local/mysql/bin/mysql_config
VERSION | = | '0.7.0' | ||
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'), 'future' => true, 'lsi' => false, 'pygments' => false, 'markdown' => 'maruku', 'permalink' => 'date', 'maruku' => { 'use_tex' => false, 'use_divs' => false, 'png_engine' => 'blahtex', 'png_dir' => 'images/latex', 'png_url' => '/images/latex' | Default options. Overriden by values in _config.yml or command-line opts. (Strings rather symbols used for compatability with YAML). |
Generate a Jekyll configuration Hash by merging the default options with anything in _config.yml, and adding the given options on top.
override - A Hash of config directives that override any options in both
the defaults and the config file. See Jekyll::DEFAULTS for a list of option names and their defaults.
Returns the final configuration Hash.