這就是我想要的頁面爲:如何將液體標籤高亮顯示在有序列表中?
<ol>
<li>first</li>
<li>second
<code></code>
</li>
<li>third</li>
</ol>
這是我正在寫:
1. first
2. second
{% highlight ruby %}
code here
{% endhighlight %}
3. third
,這是它的呈現方式:
<ol>
<li>first</li>
<li>second</li>
</ol>
<div class="highlight>
code here
</div>
<ol>
<li>third</li>
</ol>
那麼我怎麼寫,它會呈現我想要的樣子?
到目前爲止,您不能:https://github.com/jekyll/jekyll/issues/588 – approxiblue