github jekyll site不再採用Maruku做爲Markdown的解釋器,而是kramdown

今天寫了一篇博客,把它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/

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章