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([]);
if (!isPerformanceBenchmark) {
if (gfm) {
parser.use(remarkGfm);
}
if (!isPerformanceBenchmark && gfm) {
parser.use(remarkGfm);
}
if (smartypants) {