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,12 +68,13 @@ export async function renderMarkdown(
|
||||||
.use([]);
|
.use([]);
|
||||||
|
|
||||||
if (!isPerformanceBenchmark && gfm) {
|
if (!isPerformanceBenchmark && gfm) {
|
||||||
|
if (gfm) {
|
||||||
parser.use(remarkGfm);
|
parser.use(remarkGfm);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (smartypants) {
|
if (smartypants) {
|
||||||
parser.use(remarkSmartypants);
|
parser.use(remarkSmartypants);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const loadedRemarkPlugins = await Promise.all(loadPlugins(remarkPlugins));
|
const loadedRemarkPlugins = await Promise.all(loadPlugins(remarkPlugins));
|
||||||
const loadedRehypePlugins = await Promise.all(loadPlugins(rehypePlugins));
|
const loadedRehypePlugins = await Promise.all(loadPlugins(rehypePlugins));
|
||||||
|
|
Loading…
Reference in a new issue