Configure eleventy-plugin-embed-everything to support Soundcloud

This commit is contained in:
Helen Chong 2024-04-15 18:28:29 +08:00
parent a25de21dfe
commit 467cc87a53
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(metagen);
eleventyConfig.addPlugin(pluginTOC, { tags: ['h2', 'h3', 'h4', 'h5'] });
eleventyConfig.addPlugin(emojiReadTime);
eleventyConfig.addPlugin(embedEverything);
eleventyConfig.addPlugin(embedEverything, { add: ['soundcloud'] });
// Configure slug filter
eleventyConfig.addFilter("slug", (str) => {