class ResizableImageExtension implements Parser.ParserExtension, HtmlRenderer.HtmlRendererExtension {

    private ResizableImageExtension() {
    }

    public static ResizableImageExtension create() {
        return new ResizableImageExtension();
    }

    @Override
    public void rendererOptions(@NotNull MutableDataHolder options) {

    }

    @Override
    public void parserOptions(MutableDataHolder options) {

    }

    @Override
    public void extend(Parser.Builder parserBuilder) {
        parserBuilder.customInlineParserExtensionFactory(new ResizableImageInlineParserExtension.Factory());
    }

    @Override
    public void extend(@NotNull HtmlRenderer.Builder htmlRendererBuilder, @NotNull String rendererType) {<FILL_FUNCTION_BODY>}
}

        if (htmlRendererBuilder.isRendererType("HTML")) {
            htmlRendererBuilder.nodeRendererFactory(new ResizableImageNodeRenderer.Factory());
        } else if (htmlRendererBuilder.isRendererType("JIRA")) {
            return;
        }
    
<no_super_class>