From dda8cf154da7d29723cb92200cda5407644fd02b Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Mon, 6 Mar 2023 09:52:29 -0500 Subject: [PATCH] nit: tested if --- packages/markdown/remark/src/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/markdown/remark/src/index.ts b/packages/markdown/remark/src/index.ts index 2366497e7..53d683ddf 100644 --- a/packages/markdown/remark/src/index.ts +++ b/packages/markdown/remark/src/index.ts @@ -67,10 +67,8 @@ export async function renderMarkdown( .use(toRemarkInitializeAstroData({ userFrontmatter })) .use([]); - if (!isPerformanceBenchmark) { - if (gfm) { - parser.use(remarkGfm); - } + if (!isPerformanceBenchmark && gfm) { + parser.use(remarkGfm); } if (smartypants) {