> set = new HashSet<>();
- // @formatter:off
- set.add(new NodeRenderingHandler<>(ResizableImage.class, ResizableImageNodeRenderer.this::render));
- // @formatter:on
- return set;
- }
-
- public void render(ResizableImage node, NodeRendererContext context, HtmlWriter html) {
- if (context.isDoNotRenderLinks()) {
- context.renderChildren(node);
- } else {
- ResolvedLink link = context.resolveLink(LinkType.IMAGE, node.getSource(), true);
- html.srcPos(node.getChars())
- .attr("src", link.getUrl());
- if (node.getText().isNotEmpty()){
- html.attr("alt", node.getText());
- }
- if (node.getWidth().isNotEmpty()){
- html.attr("width", node.getWidth() + "px");
- }
- if (node.getHeight().isNotEmpty()){
- html.attr("height", node.getHeight() + "px");
- }
- html.withAttr().tag("img");
- html.tag("/img");
- }
- }
-
- public static class Factory implements NodeRendererFactory {
- @NotNull
- @Override
- public NodeRenderer apply(@NotNull DataHolder options) {
- return new ResizableImageNodeRenderer(options);
- }
- }
-}
diff --git a/flexmark-ext-resizable-image/src/main/javadoc/overview.html b/flexmark-ext-resizable-image/src/main/javadoc/overview.html
deleted file mode 100644
index c3d158745..000000000
--- a/flexmark-ext-resizable-image/src/main/javadoc/overview.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-flexmark-java extension enables to set width and height for images by stating them
-as  which is used in Azure DevOps markdown.
-Converts  into image with width = W and height = H.
- Also added support for image`s relative paths from Azure DevOps repository.
-
-
diff --git a/flexmark-ext-resizable-image/src/main/javadoc/overview.md b/flexmark-ext-resizable-image/src/main/javadoc/overview.md
deleted file mode 100644
index 68543ec12..000000000
--- a/flexmark-ext-resizable-image/src/main/javadoc/overview.md
+++ /dev/null
@@ -1,4 +0,0 @@
-**flexmark-java extension enables to set width and height for images by stating them as  which is used in Azure DevOps markdown.**
-
-Converts  into image with width = W and height = H.
-Also added support for image`s relative paths from Azure DevOps repository.
\ No newline at end of file
diff --git a/flexmark-ext-resizable-image/src/test/java/com/vladsch/flexmark/ext/resizable/image/ComboResizableImageSpecTest.java b/flexmark-ext-resizable-image/src/test/java/com/vladsch/flexmark/ext/resizable/image/ComboResizableImageSpecTest.java
deleted file mode 100644
index b0eec7830..000000000
--- a/flexmark-ext-resizable-image/src/test/java/com/vladsch/flexmark/ext/resizable/image/ComboResizableImageSpecTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package com.vladsch.flexmark.ext.youtube.embedded;
-
-import com.vladsch.flexmark.core.test.util.RendererSpecTest;
-import com.vladsch.flexmark.parser.Parser;
-import com.vladsch.flexmark.test.util.spec.ResourceLocation;
-import com.vladsch.flexmark.test.util.spec.SpecExample;
-import com.vladsch.flexmark.util.data.DataHolder;
-import com.vladsch.flexmark.util.data.MutableDataSet;
-import org.jetbrains.annotations.NotNull;
-import org.junit.runners.Parameterized;
-
-import java.util.Collections;
-import java.util.List;
-
-public class ComboResizableImageSpecTest extends RendererSpecTest {
- final private static String SPEC_RESOURCE = "/ext_resizable_image_spec.md";
- final public static @NotNull ResourceLocation RESOURCE_LOCATION = ResourceLocation.of(SPEC_RESOURCE);
- final private static DataHolder OPTIONS = new MutableDataSet()
- .set(Parser.EXTENSIONS, Collections.singleton(ResizableImageExtension.create()))
- .toImmutable();
-
- public ComboResizableImageSpecTest(@NotNull SpecExample example) {
- super(example, null, OPTIONS);
- }
-
- @Parameterized.Parameters(name = "{0}")
- public static List