github jekyll site不再采用Maruku做为Markdown的解释器,而是kramdown

在将博客推送到Github上的Jekyll站点时遇到错误,原因是Maruku Markdown解释器不再使用。通过更新_config.yml配置文件,改为使用kramdown作为Markdown解析器,可以解决此问题。
摘要由CSDN通过智能技术生成

今天写了一篇博客,把它push到jekyll site on github上,发现老是出错,给的邮件信息如下:

The page build completed successfully, but returned the following
warning:

Your site is using Maruku, the default Markdown interpreter. Maruku is
now obsolete and may cause builds to fail for sites with invalid
Markdown or
HTML. Seehttps://help.github.com/articles/migrating-your-pages-site-from-maruku
for more information on upgrading to a newer Markdown interpreter. 

For information on troubleshooting Jekyll see:

  https://help.github.com/articles/using-jekyll-with-pages#troubleshooting

If you have any questions please contact us at https://github.com/contact.

Github Help链接一看,发现Maruku项目于2012年10月关闭并停止更新了,相应地github也不采用这个解释器,而是采用kramdown解释器

你只要在_config.yml文件里加上以下代码,让系统采用kramdown解释器就可以了

markdown: kramdown

果然成功, 我的GITHUB 博客都址为:  http://aborn.github.io/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值