Search code examples
htmlmarkdownjekyll

Jekyll is printing HTML instead of rendering it


I routinely use html tags to display images under Jekyll. However I am currently working on a new theme and the following image tag does not work. Instead of showing the image, the resulting HTML page is displaying the tag itself. I have not seen this problem before. What am I missing?

<img src="/assets/one.jpg" width=600> </img>


Solution

  • Try removing the end tag since it isn't required. <img src="./assets/one.jpg" width=600>