remove upgrade helper
This commit is contained in:
parent
389e216b55
commit
72bebb86c9
1 changed files with 0 additions and 2 deletions
|
@ -3,7 +3,6 @@ const nunjucksDate = require('nunjucks-date');
|
||||||
const syntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight');
|
const syntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight');
|
||||||
const markdownIt = require('markdown-it');
|
const markdownIt = require('markdown-it');
|
||||||
const markdownItClass = require('@toycode/markdown-it-class');
|
const markdownItClass = require('@toycode/markdown-it-class');
|
||||||
const UpgradeHelper = require("@11ty/eleventy-upgrade-help");
|
|
||||||
|
|
||||||
const markdownClassMapping = {
|
const markdownClassMapping = {
|
||||||
h1: ['hide'],
|
h1: ['hide'],
|
||||||
|
@ -27,7 +26,6 @@ module.exports = function(eleventyConfig) {
|
||||||
nunjucksDate.install(nunjucksEnvironment);
|
nunjucksDate.install(nunjucksEnvironment);
|
||||||
|
|
||||||
eleventyConfig.addPlugin(syntaxHighlight);
|
eleventyConfig.addPlugin(syntaxHighlight);
|
||||||
eleventyConfig.addPlugin(UpgradeHelper);
|
|
||||||
|
|
||||||
const md = markdownIt({ linkify: true, html: true });
|
const md = markdownIt({ linkify: true, html: true });
|
||||||
md.use(markdownItClass, markdownClassMapping);
|
md.use(markdownItClass, markdownClassMapping);
|
||||||
|
|
Loading…
Add table
Reference in a new issue