当前位置: 首页 > 工具软件 > Pygments > 使用案例 >

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

查宜修
2023-12-01

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 即可。

 类似资料: