nit: tested if
This commit is contained in:
parent
45fac9922d
commit
dda8cf154d
1 changed files with 2 additions and 4 deletions
|
@ -67,11 +67,9 @@ 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) {
|
||||||
parser.use(remarkSmartypants);
|
parser.use(remarkSmartypants);
|
||||||
|
|
Loading…
Reference in a new issue