Class ImageAttributesExtension
java.lang.Object
org.commonmark.ext.image.attributes.ImageAttributesExtension
- All Implemented Interfaces:
Extension
,Parser.ParserExtension
,HtmlRenderer.HtmlRendererExtension
public class ImageAttributesExtension
extends Object
implements Parser.ParserExtension, HtmlRenderer.HtmlRendererExtension
Extension for adding attributes to image nodes.
Create it with create()
and then configure it on the builders
(Parser.Builder.extensions(Iterable)
,
HtmlRenderer.Builder.extensions(Iterable)
).
- Since:
- 0.15.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Extension
create()
void
extend
(Parser.Builder parserBuilder) void
extend
(HtmlRenderer.Builder rendererBuilder)
-
Constructor Details
-
ImageAttributesExtension
private ImageAttributesExtension()
-
-
Method Details
-
create
-
extend
- Specified by:
extend
in interfaceParser.ParserExtension
-
extend
- Specified by:
extend
in interfaceHtmlRenderer.HtmlRendererExtension
-