build: 👷 add HTML minifying plugin
This commit is contained in:
parent
d2a9ec7936
commit
6f0f70dd96
3 changed files with 101 additions and 1 deletions
|
@ -13,6 +13,7 @@ import eleventyPluginReadingTime from '@myxotod/eleventy-plugin-readingtime';
|
|||
import eleventyPluginRobotsTxt from 'eleventy-plugin-robotstxt';
|
||||
import eleventyPluginRss from '@11ty/eleventy-plugin-rss';
|
||||
import eleventyPluginSyntaxHighlight from '@11ty/eleventy-plugin-syntaxhighlight';
|
||||
import eleventyPluginTinyHtml from '@sardine/eleventy-plugin-tinyhtml';
|
||||
import markdownIt from 'markdown-it';
|
||||
import markdownItAbbr from 'markdown-it-abbr';
|
||||
import markdownItAnchor from 'markdown-it-anchor';
|
||||
|
@ -125,6 +126,7 @@ export default async function (eleventyConfig) {
|
|||
}
|
||||
});
|
||||
eleventyConfig.addPlugin(eleventyPluginRss);
|
||||
eleventyConfig.addPlugin(eleventyPluginTinyHtml);
|
||||
|
||||
eleventyConfig.setLibrary('md', markdownIt(MARKDOWNIT_OPTIONS));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue