org.pegdown
Interface Extensions

All Known Implementing Classes:
Parser

public interface Extensions


Field Summary
static int ABBREVIATIONS
          PHP Markdown Extra style abbreviations.
static int ALL
          All available extensions excluding the HTML SUPPRESSION and NO_FOLLOW_LINKS options.
static int AUTOLINKS
          Enables plain autolinks the way github flavoured markdown implements them.
static int DEFINITIONS
          PHP Markdown Extra style definition lists.
static int FENCED_CODE_BLOCKS
          PHP Markdown Extra style fenced code blocks.
static int HARDWRAPS
          Enables the parsing of hard wraps as HTML linebreaks.
static int NONE
          The default, standard markup mode without any extensions.
static int QUOTES
          Pretty single and double quotes.
static int SMARTS
          Pretty ellipses, dashes and apostrophes.
static int SMARTYPANTS
          All of the smartypants prettyfications.
static int SUPPRESS_ALL_HTML
          Suppresses HTML blocks as well as inline HTML tags.
static int SUPPRESS_HTML_BLOCKS
          Suppresses HTML blocks.
static int SUPPRESS_INLINE_HTML
          Suppresses inline HTML tags.
static int TABLES
          Table support similar to what Multimarkdown offers.
static int WIKILINKS
          Support [[Wiki-style links]].
 

Field Detail

NONE

static final int NONE
The default, standard markup mode without any extensions.

See Also:
Constant Field Values

SMARTS

static final int SMARTS
Pretty ellipses, dashes and apostrophes.

See Also:
Constant Field Values

QUOTES

static final int QUOTES
Pretty single and double quotes.

See Also:
Constant Field Values

SMARTYPANTS

static final int SMARTYPANTS
All of the smartypants prettyfications. Equivalent to SMARTS || QUOTES.

See Also:
Smartypants, Constant Field Values

ABBREVIATIONS

static final int ABBREVIATIONS
PHP Markdown Extra style abbreviations.

See Also:
PHP Markdown Extra, Constant Field Values

HARDWRAPS

static final int HARDWRAPS
Enables the parsing of hard wraps as HTML linebreaks. Similar to what github does.

See Also:
Github-flavored-Markdown, Constant Field Values

AUTOLINKS

static final int AUTOLINKS
Enables 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:
Github-flavored-Markdown, Constant Field Values

TABLES

static final int TABLES
Table support similar to what Multimarkdown offers.

See Also:
MultiMarkdown, Constant Field Values

DEFINITIONS

static final int DEFINITIONS
PHP Markdown Extra style definition lists. Additionally supports the small extension proposed in the article referenced below.

See Also:
PHP Markdown Extra, Extension proposal, Constant Field Values

FENCED_CODE_BLOCKS

static final int FENCED_CODE_BLOCKS
PHP Markdown Extra style fenced code blocks.

See Also:
PHP Markdown Extra, Constant Field Values

WIKILINKS

static final int WIKILINKS
Support [[Wiki-style links]]. URL rendering is performed by the active LinkRenderer.

See Also:
Github-flavored-Markdown, Constant Field Values

ALL

static final int ALL
All available extensions excluding the HTML SUPPRESSION and NO_FOLLOW_LINKS options.

See Also:
Constant Field Values

SUPPRESS_HTML_BLOCKS

static final int SUPPRESS_HTML_BLOCKS
Suppresses HTML blocks. They will be accepted in the input but not be contained in the output.

See Also:
Constant Field Values

SUPPRESS_INLINE_HTML

static final int SUPPRESS_INLINE_HTML
Suppresses inline HTML tags. They will be accepted in the input but not be contained in the output.

See Also:
Constant Field Values

SUPPRESS_ALL_HTML

static final int SUPPRESS_ALL_HTML
Suppresses HTML blocks as well as inline HTML tags. Both will be accepted in the input but not be contained in the output.

See Also:
Constant Field Values