【发布时间】:2020-07-06 01:06:56
【问题描述】:
我想发布我的“原始代码”,但它没有。 我输入了我的“html 代码”,但它显示了我的网址。
我使用 Jekyll 主题“中等”。
原始代码
<div style="text-align: center;">
<a href="http://hits.dwyl.com/{{ site.url | remove_first: 'https://' | remove_first: 'http://' }}{{ page.url }}" target="_blank">
<img src="http://hits.dwyl.com/{{ site.url | remove_first: 'https://' | remove_first: 'http://' }}{{ page.url }}.svg"/>
</a>
</div>
页面展示
<div style="text-align: center;">
<a href="http://hits.dwyl.com/localhost:4000/GithubBlog_8/" target="_blank">
<img src="http://hits.dwyl.com/localhost:4000/GithubBlog_8/.svg" />
</a>
</div>
如何发布我的原始代码以及为什么会这样?
这是我的页面和代码。
【问题讨论】:
-
我想这比last time...稍微清晰...你问如何添加代码块?
-
感谢您的建议。但我已经知道如何添加代码块。我的问题的答案是'液体原始标签'......!
标签: html markdown jekyll liquid syntaxhighlighter