work.suroh.tk/node_modules/@11ty/eleventy/test/stubs/test-override-js-markdown.1...

15 lines
200 B
JavaScript

class Test {
data() {
return {
name: "markdown",
templateEngineOverride: "11ty.js,md"
};
}
render(data) {
return `# This is ${data.name}`;
}
}
module.exports = Test;