public class StrikethroughExtension extends Object implements com.vladsch.flexmark.parser.Parser.ParserExtension, com.vladsch.flexmark.html.HtmlRenderer.HtmlRendererExtension
Create it with create() and then configure it on the builders
(Parser.Builder.extensions(Iterable),
HtmlRenderer.Builder.extensions(Iterable)).
The parsed strikethrough text regions are turned into Strikethrough nodes.
| Modifier and Type | Field and Description |
|---|---|
static com.vladsch.flexmark.util.options.DataKey<String> |
STRIKETHROUGH_STYLE_HTML_CLOSE |
static com.vladsch.flexmark.util.options.DataKey<String> |
STRIKETHROUGH_STYLE_HTML_OPEN |
| Modifier and Type | Method and Description |
|---|---|
static com.vladsch.flexmark.Extension |
create() |
void |
extend(com.vladsch.flexmark.html.HtmlRenderer.Builder rendererBuilder,
String rendererType) |
void |
extend(com.vladsch.flexmark.parser.Parser.Builder parserBuilder) |
void |
parserOptions(com.vladsch.flexmark.util.options.MutableDataHolder options) |
void |
rendererOptions(com.vladsch.flexmark.util.options.MutableDataHolder options) |
public static final com.vladsch.flexmark.util.options.DataKey<String> STRIKETHROUGH_STYLE_HTML_OPEN
public static final com.vladsch.flexmark.util.options.DataKey<String> STRIKETHROUGH_STYLE_HTML_CLOSE
public static com.vladsch.flexmark.Extension create()
public void rendererOptions(com.vladsch.flexmark.util.options.MutableDataHolder options)
rendererOptions in interface com.vladsch.flexmark.html.HtmlRenderer.HtmlRendererExtensionpublic void parserOptions(com.vladsch.flexmark.util.options.MutableDataHolder options)
parserOptions in interface com.vladsch.flexmark.parser.Parser.ParserExtensionpublic void extend(com.vladsch.flexmark.parser.Parser.Builder parserBuilder)
extend in interface com.vladsch.flexmark.parser.Parser.ParserExtensionpublic void extend(com.vladsch.flexmark.html.HtmlRenderer.Builder rendererBuilder,
String rendererType)
extend in interface com.vladsch.flexmark.html.HtmlRenderer.HtmlRendererExtensionCopyright © 2018. All rights reserved.