eleventy-plugin-syntaxhighl.../demo/eleventy-config.js

11 lines
284 B
JavaScript
Raw Normal View History

const syntaxHighlight = require("../.eleventy.js");
module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(syntaxHighlight, {
// alwaysWrapLineHighlights: true
preAttributes: { tabindex: 0 }
});
eleventyConfig.setTemplateFormats("njk,liquid,md,css");
};