Install Eleventy plugin for Vento
This commit is contained in:
parent
b0d3641de1
commit
eeedd5d657
@ -6,6 +6,7 @@ import pluginSyntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight";
|
||||
import pluginEmbedEverything from "eleventy-plugin-embed-everything";
|
||||
import pluginWordcount from "eleventy-plugin-wordcount-extended";
|
||||
import pluginTOC from "@uncenter/eleventy-plugin-toc";
|
||||
import { VentoPlugin } from 'eleventy-plugin-vento';
|
||||
|
||||
// Custom Configurations
|
||||
import markdownItConfig from "./src/_config/markdown-it.js";
|
||||
@ -48,6 +49,12 @@ export default function(eleventyConfig) {
|
||||
eleventyConfig.addBundle("css");
|
||||
eleventyConfig.addBundle("js", { toFileDirectory: "assets/js" });
|
||||
|
||||
// ----- Vento plugin for Eleventy
|
||||
// Must be loaded after plugins that modify filters
|
||||
eleventyConfig.addPlugin(VentoPlugin, {
|
||||
autotrim: true,
|
||||
});
|
||||
|
||||
return {
|
||||
markdownTemplateEngine: "njk",
|
||||
htmlTemplateEngine: "njk",
|
||||
|
@ -23,6 +23,7 @@
|
||||
"@uncenter/eleventy-plugin-toc": "^1.0.3",
|
||||
"@zachleat/details-utils": "^2.0.2",
|
||||
"eleventy-plugin-embed-everything": "^1.21.0",
|
||||
"eleventy-plugin-vento": "^4.2.1",
|
||||
"eleventy-plugin-wordcount-extended": "^0.2.1",
|
||||
"install": "^0.13.0",
|
||||
"markdown-it-anchor": "^9.2.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user