今天写了一篇博客,之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/
版权声明:本文博主原创文章,博客,未经同意不得转载。