summaryrefslogtreecommitdiff
path: root/packages/markdown/remark/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/markdown/remark/src/index.ts')
-rw-r--r--packages/markdown/remark/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/markdown/remark/src/index.ts b/packages/markdown/remark/src/index.ts
index 5c5dcdc66..ffae6be4f 100644
--- a/packages/markdown/remark/src/index.ts
+++ b/packages/markdown/remark/src/index.ts
@@ -116,7 +116,7 @@ export async function renderMarkdown(
});
if (opts.experimentalAssets) {
- parser.use(rehypeImages(await opts.imageService, opts.assetsDir));
+ parser.use(rehypeImages(await opts.imageService, opts.assetsDir, opts.getImageMetadata));
}
if (!isPerformanceBenchmark) {
parser.use([rehypeHeadingIds]);