我的md文件如下,如何让md文件支持html代码块
---
layout: post
title: "md文件兼容html区块"
date: 2016-7-1
---
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
</body>
</html>
提示错误如下:
The tag url
on line 12 in _posts/2016-6-13-jquery-fileupload中文件的目录结构.md
is not a recognized Liquid tag. For more information, see https://help.github.com/articles/page-build-failed-unknown-tag-error.
没仔细看手册吧。这里面
{% highlight html linenos %}
的html
意思是html
代码。根据不同的代码类型来定就行。试试看吧我的blog就是用
jekyll
,里面贴代码就是这么用的。希望对你有帮助