Syntax highlighting + a couple other plugins
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import pugPlugin from "@11ty/eleventy-plugin-pug";
|
||||
import brokenLinksPlugin from "eleventy-plugin-broken-links";
|
||||
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
|
||||
import { EleventyRenderPlugin } from '@11ty/eleventy';
|
||||
import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight";
|
||||
import { EleventyRenderPlugin, IdAttributePlugin } from '@11ty/eleventy';
|
||||
import * as fs from 'fs';
|
||||
import * as opml from 'opml';
|
||||
|
||||
@@ -9,6 +10,7 @@ export default function (eleventyConfig) {
|
||||
eleventyConfig.setInputDirectory("src")
|
||||
eleventyConfig.addPlugin(brokenLinksPlugin);
|
||||
eleventyConfig.addPlugin(pugPlugin);
|
||||
eleventyConfig.addPlugin(syntaxHighlight);
|
||||
eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
|
||||
htmlOptions: {
|
||||
imgAttributes: {
|
||||
@@ -16,6 +18,7 @@ export default function (eleventyConfig) {
|
||||
},
|
||||
},
|
||||
});
|
||||
eleventyConfig.addPlugin(IdAttributePlugin);
|
||||
eleventyConfig.addPlugin(EleventyRenderPlugin);
|
||||
eleventyConfig.addPassthroughCopy("src/assets/**")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user