문제

Say I have the following in a jekyll post:

{% highlight ruby linenos %}
def foo
  puts 'foo'
end
{% endhighlight %}


## an h2

The highlighting works correctly with me using pygments, but I get the literal "## an h2" in my post. All markdown syntax does not work correctly after a highlight block for me.

도움이 되었습니까?

해결책

I was converting some stuff from HTML over to jekyll/markdown and had left an HTML tag open at the bottom of the document. When I removed the open tag, things went back to normal.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top