2023-02-02 15:36:15 +01:00
|
|
|
const syntaxHighlight = require("../.eleventy.js");
|
|
|
|
|
2023-02-04 18:33:25 +01:00
|
|
|
module.exports = function (eleventyConfig) {
|
2023-02-02 15:36:15 +01:00
|
|
|
eleventyConfig.addPlugin(syntaxHighlight, {
|
|
|
|
// alwaysWrapLineHighlights: true
|
2023-02-04 18:33:25 +01:00
|
|
|
lexerOverrides: {
|
|
|
|
njk: "vue",
|
|
|
|
liquid: "swift",
|
|
|
|
},
|
|
|
|
preAttributes: { tabindex: 0 },
|
2023-02-02 15:36:15 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
eleventyConfig.setTemplateFormats("njk,liquid,md,css");
|
|
|
|
};
|