Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top