From dceec25c468e898a342a5bc8877d7cc592e2c8a6 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Sat, 27 Jan 2018 23:31:42 -0600 Subject: [PATCH] Try the plain highlighter --- .eleventy.js | 2 +- posts/firstpost.md | 2 +- posts/thirdpost.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 5166009..a926a36 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.prismjs); + eleventyConfig.addLiquidTag("highlight", highlighters.plain); // only content in the `posts/` directory eleventyConfig.addCollection("posts", function(collection) { diff --git a/posts/firstpost.md b/posts/firstpost.md index cff1781..861adf9 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 %} +{% highlight js 1 %} // this is a command function myCommand() { let counter = 0; diff --git a/posts/thirdpost.md b/posts/thirdpost.md index 77ec886..688ef97 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 %} +{% highlight js 2,3 %} // this is a command function myCommand() { let counter = 0;