nit: tested if

This commit is contained in:
bholmesdev 2023-03-06 09:52:29 -05:00
parent 45fac9922d
commit dda8cf154d

View file

@ -67,10 +67,8 @@ export async function renderMarkdown(
.use(toRemarkInitializeAstroData({ userFrontmatter })) .use(toRemarkInitializeAstroData({ userFrontmatter }))
.use([]); .use([]);
if (!isPerformanceBenchmark) { if (!isPerformanceBenchmark && gfm) {
if (gfm) { parser.use(remarkGfm);
parser.use(remarkGfm);
}
} }
if (smartypants) { if (smartypants) {