matt-auckland / eleventy-plugin-html-validate

A plugin for eleventy which validates your site's HTML after build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eleventy-plugin-html-validate

A simple plugin that runs on the eleventy.after event and validates all the HTML files that were built.

Use:

// In your .eleventy.js
const eleventyHTMLValidate = require('eleventy-plugin-html-validate');

module.exports = function (eleventyConfig) {
  eleventyConfig.addPlugin(eleventyHTMLValidate);
}

Warning: I have no idea which versions of Eleventy this works on, when I figure it out I'll make a note here.

Powered by html-validator.

About

A plugin for eleventy which validates your site's HTML after build


Languages

Language:JavaScript 100.0%