1

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.

1 Answer 1

4

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.

1
  • You should accept your answer to show that the problem is solved. Commented Nov 24, 2013 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.