From 5a60adb6bd9069cdbeb78910e358f2412bf0728d Mon Sep 17 00:00:00 2001 From: Alfred Xing Date: Mon, 13 Apr 2015 22:02:12 -0700 Subject: [PATCH] Maruku deprecation error message --- lib/jekyll/configuration.rb | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/lib/jekyll/configuration.rb b/lib/jekyll/configuration.rb index 33668d81..84e1db8d 100644 --- a/lib/jekyll/configuration.rb +++ b/lib/jekyll/configuration.rb @@ -56,15 +56,6 @@ module Jekyll 'quiet' => false, 'defaults' => [], - 'maruku' => { - 'use_tex' => false, - 'use_divs' => false, - 'png_engine' => 'blahtex', - 'png_dir' => 'images/latex', - 'png_url' => '/images/latex', - 'fenced_code_blocks' => true - }, - 'rdiscount' => { 'extensions' => [] }, @@ -257,9 +248,11 @@ module Jekyll end if config.fetch('markdown', 'kramdown').to_s.downcase.eql?("maruku") - Jekyll::Deprecator.deprecation_message "You're using the 'maruku' " + - "Markdown processor. Maruku support has been deprecated and will " + - "be removed in 3.0.0. We recommend you switch to Kramdown." + Jekyll.logger.abort_with "Error:", "You're using the 'maruku' " + + "Markdown processor, which has been removed as of 3.0.0. " + + "We recommend you switch to Kramdown. To do this, replace " + + "`markdown: maruku` with `markdown: kramdown` in your " + + "`_config.yml` file." end config