2016-11-15 92 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

您還沒有提供任何特別的解決方案。 –