java.lang.Object
org.commonmark.ext.autolink.AutolinkExtension
- All Implemented Interfaces:
Extension,Parser.ParserExtension
Extension for automatically turning plain URLs and email addresses into links.
Create it with create() and then configure it on the builders (Parser.Builder.extensions(Iterable), HtmlRenderer.Builder.extensions(Iterable)).
The parsed links are turned into normal Link nodes.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AutolinkExtension.Builderbuilder()static Extensioncreate()voidextend(Parser.Builder parserBuilder)
-
Field Details
-
linkTypes
-
-
Constructor Details
-
AutolinkExtension
-
-
Method Details
-
create
- Returns:
- the extension with default options
-
builder
- Returns:
- a builder to configure the behavior of the extension.
-
extend
- Specified by:
extendin interfaceParser.ParserExtension
-