class ImageAttributesExtension implements Parser.ParserExtension, HtmlRenderer.HtmlRendererExtension {

    private ImageAttributesExtension() {
    }

    public static Extension create() {
        return new ImageAttributesExtension();
    }

    @Override
    public void extend(Parser.Builder parserBuilder) {
        parserBuilder.customDelimiterProcessor(new ImageAttributesDelimiterProcessor());
    }

    @Override
    public void extend(HtmlRenderer.Builder rendererBuilder) {<FILL_FUNCTION_BODY>}
}

        rendererBuilder.attributeProviderFactory(new AttributeProviderFactory() {
            @Override
            public AttributeProvider create(AttributeProviderContext context) {
                return ImageAttributesAttributeProvider.create();
            }
        });
    
<no_super_class>