Jekyll解決The 'pygments' configuration option has been renamed to 'highlighter'

issue


問題

運行 jekyll serve 出現的問題:

Deprecation: The ‘pygments’ configuration option has been renamed to ‘highlighter’. Please update your config file accordingly. The allowed values are ‘rouge’, ‘pygments’ or null.


解決

配置文件_config.yml中,使用了 pygments 的配置項,用 highlighter 替換 pygments 即可。

發佈了97 篇原創文章 · 獲贊 40 · 訪問量 53萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章