diff --git a/.eleventy.js b/.eleventy.js index 632349d..bf7e144 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -45,6 +45,9 @@ module.exports = function (eleventyConfig) { eleventyConfig.addPassthroughCopy({ "node_modules/reveal.js/dist/reveal.css": "reveal.js/reveal.css" }); eleventyConfig.addPassthroughCopy({ "node_modules/reveal.js/dist/reveal.esm.js": "reveal.js/reveal.esm.js" }); eleventyConfig.addPassthroughCopy({ "node_modules/reveal.js/plugin/markdown/markdown.esm.js": "reveal.js/plugin/markdown/markdown.esm.js" }); + eleventyConfig.addPassthroughCopy({ "node_modules/reveal.js/plugin/highlight/highlight.esm.js": "reveal.js/plugin/highlight/highlight.esm.js" }); + eleventyConfig.addPassthroughCopy({ "node_modules/reveal.js/plugin/highlight/monokai.css": "reveal.js/plugin/highlight/monokai.css" }); + eleventyConfig.addPassthroughCopy({ "node_modules/reveal.js/plugin/notes/notes.esm.js": "reveal.js/plugin/notes/notes.esm.js" }); eleventyConfig.addFilter("date_to_datetime", async (obj) => { if (!obj) { diff --git a/src/decks.njk b/src/decks.njk index f61e939..3d46142 100644 --- a/src/decks.njk +++ b/src/decks.njk @@ -26,13 +26,17 @@ permalink: /decks/{{ pagination.items[0].fileSlug }}/index.html {% bounce { path: '/reveal.js/reveal.css', check_path: 'node_modules/reveal.js/dist/reveal.css' } %} {% bounce { path: '/css/reveal-maia.css', check_path: 'src/css' } %} + + {% bounce { path: '/reveal.js/plugin/highlight/monokai.css', check_path: 'node_modules/reveal.js/plugin/highlight/monokai.css' } %}