Skip to content Skip to sidebar Skip to footer

Highlight In Html Issue With Jekyll/liquid And Pygments

I'm using Jekyll with pygments and having an issue using {% highlight %} in .html posts. As you can see here, it is just printing out {% highlight %} yet on my homepage the syntax

Solution 1:

It seems I have figured out my problem. I was using {{ page.content }} in my post.html instead of just {{ content }}.


Post a Comment for "Highlight In Html Issue With Jekyll/liquid And Pygments"