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 highlighting works See here: iwasasuperhero. Here is the code for the index, and the code for the post: Here I'm not really sure the issue or why it is working on the index but not the post page. Any ideas? 回答1: It seems I have figured out my problem. I was using {{ page.content }} in my post.html instead of just {{