Maruku deprecation error message
This commit is contained in:
parent
4f06ba7884
commit
5a60adb6bd
|
@ -56,15 +56,6 @@ module Jekyll
|
||||||
'quiet' => false,
|
'quiet' => false,
|
||||||
'defaults' => [],
|
'defaults' => [],
|
||||||
|
|
||||||
'maruku' => {
|
|
||||||
'use_tex' => false,
|
|
||||||
'use_divs' => false,
|
|
||||||
'png_engine' => 'blahtex',
|
|
||||||
'png_dir' => 'images/latex',
|
|
||||||
'png_url' => '/images/latex',
|
|
||||||
'fenced_code_blocks' => true
|
|
||||||
},
|
|
||||||
|
|
||||||
'rdiscount' => {
|
'rdiscount' => {
|
||||||
'extensions' => []
|
'extensions' => []
|
||||||
},
|
},
|
||||||
|
@ -257,9 +248,11 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
if config.fetch('markdown', 'kramdown').to_s.downcase.eql?("maruku")
|
if config.fetch('markdown', 'kramdown').to_s.downcase.eql?("maruku")
|
||||||
Jekyll::Deprecator.deprecation_message "You're using the 'maruku' " +
|
Jekyll.logger.abort_with "Error:", "You're using the 'maruku' " +
|
||||||
"Markdown processor. Maruku support has been deprecated and will " +
|
"Markdown processor, which has been removed as of 3.0.0. " +
|
||||||
"be removed in 3.0.0. We recommend you switch to Kramdown."
|
"We recommend you switch to Kramdown. To do this, replace " +
|
||||||
|
"`markdown: maruku` with `markdown: kramdown` in your " +
|
||||||
|
"`_config.yml` file."
|
||||||
end
|
end
|
||||||
|
|
||||||
config
|
config
|
||||||
|
|
Loading…
Reference in New Issue