From 3bf798b51f67d5a2ac5b0a1ab4e44ad5d9ec1b47 Mon Sep 17 00:00:00 2001 From: Kristoffer Schneider Date: Tue, 5 Aug 2025 22:14:22 +0200 Subject: [PATCH] Fixing code style by running prettier with --write --- quartz/plugins/transformers/citations.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/quartz/plugins/transformers/citations.ts b/quartz/plugins/transformers/citations.ts index 28e4b1865..795dc93d4 100644 --- a/quartz/plugins/transformers/citations.ts +++ b/quartz/plugins/transformers/citations.ts @@ -29,9 +29,12 @@ export const Citations: QuartzTransformerPlugin> = (userOpts) = // https://github.com/citation-style-language/locales // thus, we optimistically assume there is indeed an appropriate // locale available and simply create the lang url-string - let lang: string = "en-US"; + let lang: string = "en-US" if (ctx.cfg.configuration.locale !== null && ctx.cfg.configuration.locale !== undefined) { - lang = "https://raw.githubusercontent.com/citation-style-language/locales/refs/heads/master/locales-" + ctx.cfg.configuration.locale + '.xml'; + lang = + "https://raw.githubusercontent.com/citation-style-language/locales/refs/heads/master/locales-" + + ctx.cfg.configuration.locale + + ".xml" } // Add rehype-citation to the list of plugins plugins.push([