Bash/HTML/JS is not a valid Prism.js language for eleventy

This is one of the small articles I wish I had found while researching a problem I encountered. So I hope it solves your issue without much fuss.

If you are a dev into the static generators and especially 11ty like me, you might stumble upon one of these messages:

Prism.js is the syntax highlighting library used in eleventy.

Good news is: I've got an easy solution for you available. Change the spelling to lowercase and you should be good to go.

🙏🙏🙏

Since you've made it this far, sharing this article on your favorite social media network would be highly appreciated 💖! For feedback, please ping me on Twitter.

Published