October 13, 2021
I ran into some issues when creating an Eleventy site where I had curly braces in my markdown posts ({{ like this }}
), which were meant as part of code samples and not as dynamic variables to be evaluated by Eleventy.
To solve this, I removed the templating engine that markdown is processed with. You can do this in your .eleventy.js
configuration file like this:
module.exports = function (eleventyConfig) {
return {
markdownTemplateEngine: false,
};
};
Get new posts by email (or RSS)!