在 markdown 文档中贴了段XML代码,格式如下:
" xml<xxxxx></xxxxx>"
结果 jekyll 在转换成 HTML 时,把XML代码段直接插入到HTML里了。
认证高级PHP讲师
Writing like that means markdown just wraps the code in code pre How about trying to write like this
{% highlight xml %} <xml>。。。。。</xml> {% endhighlight %}
Writing like that means markdown just wraps the code in code pre
How about trying to write like this