public static enum Options.Tables extends Enum<Options.Tables>
Enum Constant and Description |
---|
CONVERT_TO_CODE_BLOCK
Convert tables to clean code block (compatible with the original Markdown)
|
LEAVE_AS_HTML
Leave all tables and their contents as raw HTML (the default, as
this is the recommended syntax from Markdown)
|
MARKDOWN_EXTRA
Convert tables to the syntax used by PHP Markdown Extra.
|
MULTI_MARKDOWN
Convert tables to the syntax used by MultiMarkdown.
|
REMOVE
Remove all tables and their contents
|
Modifier and Type | Method and Description |
---|---|
boolean |
isColspanEnabled()
True if the table is rendered as a MultiMarkdown table with column spanning.
|
boolean |
isConvertedToText()
True if the table is to be converted to plain text.
|
boolean |
isLeftAsHtml()
True if the table is to be left as raw HTML.
|
boolean |
isRemoved()
True if the table is to be fully removed.
|
boolean |
isRenderedAsCode()
True if the table should be rendered as a code block
|
static Options.Tables |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Options.Tables[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Options.Tables REMOVE
public static final Options.Tables LEAVE_AS_HTML
public static final Options.Tables CONVERT_TO_CODE_BLOCK
public static final Options.Tables MARKDOWN_EXTRA
public static final Options.Tables MULTI_MARKDOWN
public static Options.Tables[] values()
for (Options.Tables c : Options.Tables.values()) System.out.println(c);
public static Options.Tables valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isRemoved()
public boolean isLeftAsHtml()
public boolean isConvertedToText()
public boolean isRenderedAsCode()
public boolean isColspanEnabled()
Copyright © 2017. All rights reserved.