diff --git a/.eleventy.js b/.eleventy.js index a926a3660a..5166009ff2 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -43,7 +43,7 @@ module.exports = function(eleventyConfig) { }, true); // compatibility with existing {% highlight js %} and others - eleventyConfig.addLiquidTag("highlight", highlighters.plain); + eleventyConfig.addLiquidTag("highlight", highlighters.prismjs); // only content in the `posts/` directory eleventyConfig.addCollection("posts", function(collection) { diff --git a/netlify.toml b/netlify.toml index 27e8723193..829d5e5969 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,3 @@ [build] publish = "_site" - command = "eleventy" \ No newline at end of file + command = "DEBUG=* eleventy" \ No newline at end of file diff --git a/posts/firstpost.md b/posts/firstpost.md index 861adf9ce6..cff1781821 100644 --- a/posts/firstpost.md +++ b/posts/firstpost.md @@ -11,7 +11,7 @@ Bring to the table win-win survival strategies to ensure proactive domination. A Capitalize on low hanging fruit to identify a ballpark value added activity to beta test. Override the digital divide with additional clickthroughs from DevOps. Nanotechnology immersion along the information highway will close the loop on focusing solely on the bottom line. -{% highlight js 1 %} +{% highlight js %} // this is a command function myCommand() { let counter = 0; diff --git a/posts/thirdpost.md b/posts/thirdpost.md index 688ef97ba4..77ec886d7e 100644 --- a/posts/thirdpost.md +++ b/posts/thirdpost.md @@ -6,7 +6,7 @@ layout: layouts/post.njk --- Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment. -{% highlight js 2,3 %} +{% highlight js %} // this is a command function myCommand() { let counter = 0;