lib/jekyll/configuration.rb
def check_pygments(config)
      if config.key?("pygments")
        Jekyll::Deprecator.deprecation_message "The 'pygments' configuration option" \
                            " has been renamed to 'highlighter'. Please update your" \
                            " config file accordingly. The allowed values are 'rouge', " \
                            "'pygments' or null."

        config["highlighter"] = "pygments" if config["pygments"]
        config.delete("pygments")
      end
    end
# Default options. Overridden by values in _config.yml.
# Strings rather than symbols are used for compatibility with YAML.
Default options. Overridden by values in _config.yml.
Strings rather than symbols are used for compatibility with YAML.
Default options . Overridden by values in _config . yml . Strings rather than symbols are used for compatibility with YAML .
def check_pygments(config)
      if config.key?("pygments")
        Jekyll::Deprecator.deprecation_message "The 'pygments' configuration option" \
                            " has been renamed to 'highlighter'. Please update your" \
                            " config file accordingly. The allowed values are 'rouge', " \
                            "'pygments' or null."
        config["highlighter"] = "pygments" if config["pygments"]
        config.delete("pygments")
      end
    end
def check_pygments ( config ) if config . key? ( "pygments" ) Jekyll :: Deprecator . deprecation_message "The 'pygments' configuration option" " has been renamed to 'highlighter'. Please update your" " config file accordingly. The allowed values are 'rouge', " "'pygments' or null." config [ "highlighter" ] = "pygments" if config [ "pygments" ] config . delete ( "pygments" ) end end
Default options.
Default options .
config