我试图找出如何禁用rdiscount
解析器以使用octopress作为平台和Jekyll作为静态站点生成器向我codeblocks
添加额外的行。我在下面的图像中附加了代码,左侧窗格显示了添加的额外行(行号5)
源代码:
{% codeblock lang:liquid %}
{% raw %}
{% blockquote [author [, source ]] [link] [source link title] %} {% endblockquote %}
{% blockquote Shritam Bhowmick, His Portfolio %}
To the mind that is still, the whole world surrenders.
{% endblockquote %}
{% endraw %} {% endcodeblock %}
结果图片:
我错过了任何降价/液体语法吗?
答案 0 :(得分:0)
您是否尝试删除原始块末尾的行?像这样:
{% codeblock lang:liquid %}
{% raw %}
{% blockquote [author [, source ]] [link] [source link title] %} {% endblockquote %}
{% blockquote Shritam Bhowmick, His Portfolio %}
To the mind that is still, the whole world surrenders.
{% endblockquote %}{% endraw %}{% endcodeblock %}