summaryrefslogtreecommitdiff
path: root/packages/markdown/remark/src/index.ts
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2023-03-16 15:10:46 +0100
committerGravatar GitHub <noreply@github.com> 2023-03-16 15:10:46 +0100
commit90e5f87d03215a833bb6ac91f9548670a25ce659 (patch)
tree32e2efb3864874a033f987bb8d0a67eb17b4f6cc /packages/markdown/remark/src/index.ts
parent67d3d1d65ae74e902d5f1ceffc3c7d4adffd51f2 (diff)
downloadastro-90e5f87d03215a833bb6ac91f9548670a25ce659.tar.gz
astro-90e5f87d03215a833bb6ac91f9548670a25ce659.tar.zst
astro-90e5f87d03215a833bb6ac91f9548670a25ce659.zip
Vendor image-size (#6559)
* feat(assets): Vendor image-size * fix(assets): Also vendor queue, the CJS virus runs deep * fix: remove unneeded queue * chore: lockfile * fix: build * fix: build part 2 * chore: changeset
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]);