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) {