mdsvex-relative-images
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -40,3 +40,3 @@ // credit to pngwn doing majority of the plugin - https://github.com/pngwn/MDsveX/discussions/246#discussioncomment-720947 | ||
// transform urls in images | ||
visit(tree, "image", (node) => { | ||
visit(tree, ["image", "definition"], (node) => { | ||
node.url = transformUrl(node.url); | ||
@@ -43,0 +43,0 @@ }); |
{ | ||
"name": "mdsvex-relative-images", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Add support for relative image URLs in mdsvex", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4339