Unfo ignoring of heading anchor from ToC plugin
This commit is contained in:
parent
67cb814c55
commit
2b4d25c80a
|
@ -13,10 +13,7 @@ const markdownItAnchor = require("markdown-it-anchor");
|
||||||
|
|
||||||
module.exports = function (eleventyConfig) {
|
module.exports = function (eleventyConfig) {
|
||||||
// Installed Plugins
|
// Installed Plugins
|
||||||
eleventyConfig.addPlugin(pluginTOC, {
|
eleventyConfig.addPlugin(pluginTOC, { tags: ['h2', 'h3', 'h4', 'h5'] });
|
||||||
tags: ['h2', 'h3', 'h4', 'h5'],
|
|
||||||
ignoredElements: ['.heading-anchor'],
|
|
||||||
});
|
|
||||||
eleventyConfig.addPlugin(embedEverything, { add: ['soundcloud'] });
|
eleventyConfig.addPlugin(embedEverything, { add: ['soundcloud'] });
|
||||||
|
|
||||||
// Configure slug filter
|
// Configure slug filter
|
||||||
|
|
Loading…
Reference in New Issue