Class HeadingAnchorExtension.Builder
java.lang.Object
org.commonmark.ext.heading.anchor.HeadingAnchorExtension.Builder
- Enclosing class:
HeadingAnchorExtension
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
defaultId
-
idPrefix
-
idSuffix
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultId
- Parameters:
value
- Default value for the id to take if no generated id can be extracted. Default "id"- Returns:
this
-
idPrefix
- Parameters:
value
- Set the value to be prepended to every id generated. Default ""- Returns:
this
-
idSuffix
- Parameters:
value
- Set the value to be appended to every id generated. Default ""- Returns:
this
-
build
- Returns:
- a configured extension
-