Jekyll: Include HTML partial inside Markdown file
问题 Is there a way to include an HTML partial from a Markdown file with Jekyll? Example: File index.md : --- layout: default title: Home --- This is a [Markdown](http://daringfireball.net/projects/markdown/) file. {% include foobar.html %} File _includes/foobar.html : <ul> <li>Foo</li> <li>Bar</li> </ul> This unfortunately does not seem to work in my case. For completeness, here is the entire content of my _config.yml file: encoding: utf-8 markdown: kramdown baseurl: 回答1: A common reason the html