2016-11-15 91 views
2

我在做jekyll serve并且有红色标记。 我将如何让这些消失:kramdown coderay syntax_highlighter jekyll ruby​​

Deprecation: Please change 'use_coderay' to 'enable_coderay' in your configuration file. 

Deprecation: You are using 'kramdown.coderay' in your configuration, please use 'syntax_highlighter_opts' instead. 

在我的配置文件,我已经有了这些行:

kramdown: 
    auto_ids: true 
    footnote_nr: 1 
    entity_output: as_char 
    toc_levels: 1..6 
    use_coderay: enable_coderay 
+0

你可以发布你的所有配置文件吗?第一个错误应该通过将'use_coderay:enable_coderay'更改为'enable_coderay:true'来解决 – RobertKenny

回答

-1
enable_coderay   : true 
syntax_highlighter  : coderay 
syntax_highlighter_opts: {} 
+0

请增加更多的文字说明 –

-1

使用syntax_highlighter: rouge的错误明确表示kramdown.coderay被弃用:

Deprecation: You are using 'kramdown.coderay' in your configuration, please use 'syntax_highlighter_opts' instead.

+0

您还没有提供任何特别的解决方案。 –