使用Octopress修复rDiscount解析器中的额外行号

时间:2015-07-20 04:52:22

标签: markdown octopress rdiscount

我试图找出如何禁用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 %}

结果图片:

enter image description here

我错过了任何降价/液体语法吗?

1 个答案:

答案 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 %}