fix: smartypants should be avoided in benchmark!
This commit is contained in:
parent
dda8cf154d
commit
331ebd42f8
1 changed files with 6 additions and 5 deletions
|
@ -68,11 +68,12 @@ export async function renderMarkdown(
|
|||
.use([]);
|
||||
|
||||
if (!isPerformanceBenchmark && gfm) {
|
||||
parser.use(remarkGfm);
|
||||
}
|
||||
|
||||
if (smartypants) {
|
||||
parser.use(remarkSmartypants);
|
||||
if (gfm) {
|
||||
parser.use(remarkGfm);
|
||||
}
|
||||
if (smartypants) {
|
||||
parser.use(remarkSmartypants);
|
||||
}
|
||||
}
|
||||
|
||||
const loadedRemarkPlugins = await Promise.all(loadPlugins(remarkPlugins));
|
||||
|
|
Loading…
Reference in a new issue