eleventy-plugin-logical-content-flow
v1.0.1
Published
An Eleventy linter plugin to check for issues with the Logical Content Flow of the heading elements on your site.
Downloads
2
Maintainers
Readme
eleventy-plugin-logical-content-flow
An Eleventy linter plugin to check for issues with the Logical Content Flow of the heading elements on your site.
Like this project? Help support my projects and buy me a coffee via ko-fi.
Installation
Available on npm.
npm install eleventy-plugin-logical-content-flow --save-dev
Open up your Eleventy config file .eleventy.js
and use addPlugin
:
const logicalContentFlow = require("eleventy-plugin-logical-content-flow");
module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(logicalContentFlow);
};
Known Issues
This plugin JSDOM to parse the output HTML. As the library doesn't render the page the checks for hidden headings and font size from the Logical Content Flow Tool have not been included with this plugin.