nit: tested if
This commit is contained in:
parent
45fac9922d
commit
dda8cf154d
1 changed files with 2 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue