public static enum Options.FencedCodeBlocks extends Enum<Options.FencedCodeBlocks>
Enum Constant and Description |
---|
DISABLED
Completely disables fenced code blocks.
|
ENABLED_BACKTICK
Enables fenced code blocks, using multiple
'`' as the separator characters. |
ENABLED_TILDE
Enables fenced code blocks, using multiple
'~' as the separator characters. |
Modifier and Type | Method and Description |
---|---|
char |
getSeparatorCharacter()
Returns the separator character to use.
|
boolean |
isEnabled()
True if fenced code blocks are enabled
|
static Options.FencedCodeBlocks |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Options.FencedCodeBlocks[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Options.FencedCodeBlocks DISABLED
public static final Options.FencedCodeBlocks ENABLED_TILDE
'~'
as the separator characters.public static final Options.FencedCodeBlocks ENABLED_BACKTICK
'`'
as the separator characters.public static Options.FencedCodeBlocks[] values()
for (Options.FencedCodeBlocks c : Options.FencedCodeBlocks.values()) System.out.println(c);
public static Options.FencedCodeBlocks 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 isEnabled()
public char getSeparatorCharacter()
Copyright © 2017. All rights reserved.