Remove whitespace from Eleventy config functions

This commit is contained in:
Helen Chong 2024-07-28 17:30:43 +08:00
parent 81605fff84
commit 5755e5a368
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import slugify from "slugify";
import markdownPlugin from "./eleventy.config.md.js"; import markdownPlugin from "./eleventy.config.md.js";
export default function (eleventyConfig) { export default function(eleventyConfig) {
// Copy files // Copy files
eleventyConfig.addPassthroughCopy("./src/assets/"); eleventyConfig.addPassthroughCopy("./src/assets/");
eleventyConfig.addWatchTarget("./src/assets/"); eleventyConfig.addWatchTarget("./src/assets/");

View File

@ -16,7 +16,7 @@ import markdownItBracketedSpans from 'markdown-it-bracketed-spans';
import markdownItDefList from "markdown-it-deflist"; import markdownItDefList from "markdown-it-deflist";
import markdownItFootnote from "markdown-it-footnote"; import markdownItFootnote from "markdown-it-footnote";
export default function (eleventyConfig) { export default function(eleventyConfig) {
// Installed Plugins // Installed Plugins
eleventyConfig.addPlugin(pluginTOC, { eleventyConfig.addPlugin(pluginTOC, {
tags: ['h2', 'h3', 'h4', 'h5', 'h6'], tags: ['h2', 'h3', 'h4', 'h5', 'h6'],