Package org.pegdown
Interface Extensions
- All Known Implementing Classes:
Parser
public interface Extensions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
PHP Markdown Extra style abbreviations.static final int
All available extensions excluding the SUPPRESS_...static final int
Enables plain autolinks the way github flavoured markdown implements them.static final int
PHP Markdown Extra style definition lists.static final int
PHP Markdown Extra style fenced code blocks.static final int
Enables the parsing of hard wraps as HTML linebreaks.static final int
The default, standard markup mode without any extensions.static final int
Pretty single and double quotes.static final int
Pretty ellipses, dashes and apostrophes.static final int
All of the smartypants prettyfications.static final int
Support ~~strikethroughs~~ as supported in Pandoc and Github.static final int
Suppresses HTML blocks as well as inline HTML tags.static final int
Suppresses HTML blocks.static final int
Suppresses inline HTML tags.static final int
Table support similar to what Multimarkdown offers.static final int
Support [[Wiki-style links]].
-
Field Details
-
NONE
static final int NONEThe default, standard markup mode without any extensions.- See Also:
-
SMARTS
static final int SMARTSPretty ellipses, dashes and apostrophes.- See Also:
-
QUOTES
static final int QUOTESPretty single and double quotes.- See Also:
-
SMARTYPANTS
static final int SMARTYPANTSAll of the smartypants prettyfications. Equivalent to SMARTS + QUOTES.- See Also:
-
ABBREVIATIONS
static final int ABBREVIATIONSPHP Markdown Extra style abbreviations.- See Also:
-
HARDWRAPS
static final int HARDWRAPSEnables the parsing of hard wraps as HTML linebreaks. Similar to what github does.- See Also:
-
AUTOLINKS
static final int AUTOLINKSEnables plain autolinks the way github flavoured markdown implements them. With this extension enabled pegdown will intelligently recognize URLs and email addresses without any further delimiters and mark them as the respective link type.- See Also:
-
TABLES
static final int TABLESTable support similar to what Multimarkdown offers.- See Also:
-
DEFINITIONS
static final int DEFINITIONSPHP Markdown Extra style definition lists. Additionally supports the small extension proposed in the article referenced below.- See Also:
-
FENCED_CODE_BLOCKS
static final int FENCED_CODE_BLOCKSPHP Markdown Extra style fenced code blocks.- See Also:
-
WIKILINKS
static final int WIKILINKSSupport [[Wiki-style links]]. URL rendering is performed by the activeLinkRenderer
.- See Also:
-
STRIKETHROUGH
static final int STRIKETHROUGHSupport ~~strikethroughs~~ as supported in Pandoc and Github.- See Also:
-
ALL
static final int ALLAll available extensions excluding the SUPPRESS_... options.- See Also:
-
SUPPRESS_HTML_BLOCKS
static final int SUPPRESS_HTML_BLOCKSSuppresses HTML blocks. They will be accepted in the input but not be contained in the output.- See Also:
-
SUPPRESS_INLINE_HTML
static final int SUPPRESS_INLINE_HTMLSuppresses inline HTML tags. They will be accepted in the input but not be contained in the output.- See Also:
-
SUPPRESS_ALL_HTML
static final int SUPPRESS_ALL_HTMLSuppresses HTML blocks as well as inline HTML tags. Both will be accepted in the input but not be contained in the output.- See Also:
-