Interface PegdownExtensions


public interface PegdownExtensions
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    PHP Markdown Extra style abbreviations.
    static final int
     
    static final int
    All Optionals other than Suppress and FORCELISTITEMPARA which is a backwards compatibility extension
    static final int
     
    static final int
    Enables anchor links in headers.
    static final int
    Requires a space char after Atx # header prefixes, so that #dasdsdaf is not a header.
    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
    Generate anchor links for headers using complete contents of the header.
    static final int
    EXTANCHORLINKS should wrap header content instead of creating an empty anchor: `<h1><a name="header-a">header a</a></h1>`
    static final int
    PHP Markdown Extra style fenced code blocks.
    static final int
    Enables footnote processing [^1]: Text Paragraph with continuations and footnote reference [^1]
    static final int
    Force List and Definition Paragraph wrapping if it includes more than just a single paragraph
    static final int
    These are GitHub comment (issues, pull requests and comments) processing compatibility flags
    static final int
    These are GitHub main repo document processing compatibility flags
    static final int
    These are GitHub wiki page processing compatibility flags
    static final int
    Enables the parsing of hard wraps as HTML linebreaks.
    static final int
    Enables adding a dummy reference key node to RefLink and RefImage so that the AST differs between [ ][] and plain [ ] for refLink and ![ ][] and plain ![ ] for RefImage
    static final int
    ![alt](.....?
    static final int
    The default, standard markup mode without any extensions.
    static final int
    spare bits
    static final int
    Pretty single and double quotes.
    static final int
    Allow horizontal rules without a blank line following them.
    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
    Force List and Definition Paragraph wrapping if it includes more than just a single paragraph
    static final int
    trace parsing elements to console
    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
    GitHub style task list items: - [ ] and - [x]
    static final int
    Enables TOC extension
    static final int
     
    static final int
    All available extensions excluding the high word options
    static final int
    Support [[Wiki-style links]].
  • Field Details

    • NONE

      static final int NONE
      The default, standard markup mode without any extensions.
      See Also:
    • SMARTS

      static final int SMARTS
      Pretty ellipses, dashes and apostrophes.
      See Also:
    • QUOTES

      static final int QUOTES
      Pretty single and double quotes.
      See Also:
    • SMARTYPANTS

      static final int SMARTYPANTS
      All of the smartypants prettyfications. Equivalent to SMARTS + QUOTES.
      See Also:
    • ABBREVIATIONS

      static final int ABBREVIATIONS
      PHP Markdown Extra style abbreviations.
      See Also:
    • HARDWRAPS

      static final int HARDWRAPS
      Enables the parsing of hard wraps as HTML linebreaks. Similar to what github does.
      See Also:
    • TABLES

      static final int TABLES
      Table support similar to what Multimarkdown offers.
      See Also:
    • DEFINITIONS

      static final int DEFINITIONS
      PHP 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_BLOCKS
      PHP Markdown Extra style fenced code blocks.
      See Also:
    • STRIKETHROUGH

      static final int STRIKETHROUGH
      Support ~~strikethroughs~~ as supported in Pandoc and Github.
      See Also:
    • UNUSED_ALL

      static final int UNUSED_ALL
      All available extensions excluding the high word options
      See Also:
    • ALL

      static final int ALL
      See Also:
    • 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:
    • 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:
    • 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:
    • ATXHEADERSPACE

      static final int ATXHEADERSPACE
      Requires a space char after Atx # header prefixes, so that #dasdsdaf is not a header.
      See Also:
    • SUBSCRIPT

      static final int SUBSCRIPT
      Force List and Definition Paragraph wrapping if it includes more than just a single paragraph
      See Also:
    • RELAXEDHRULES

      static final int RELAXEDHRULES
      Allow horizontal rules without a blank line following them.
      See Also:
    • TASKLISTITEMS

      static final int TASKLISTITEMS
      GitHub style task list items: - [ ] and - [x]
      See Also:
    • FOOTNOTES

      static final int FOOTNOTES
      Enables footnote processing [^1]: Text Paragraph with continuations and footnote reference [^1]
      See Also:
    • TOC

      static final int TOC
      Enables TOC extension
      See Also:
    • MULTI_LINE_IMAGE_URLS

      static final int MULTI_LINE_IMAGE_URLS
      ![alt](.....?

      )

      ![alt](.....?

      "title")

      Enables MULTI_LINE_IMAGE_URLS extension which allows image urls of the form above. any text at all until ) or "title") at the begining of a line. Used for displaying UML diagrams with gravizo.com

      See Also:
    • SUPERSCRIPT

      static final int SUPERSCRIPT
      trace parsing elements to console
      See Also:
    • FORCELISTITEMPARA

      static final int FORCELISTITEMPARA
      Force List and Definition Paragraph wrapping if it includes more than just a single paragraph
      See Also:
    • NOT_USED

      static final int NOT_USED
      spare bits
      See Also:
    • INSERTED

      static final int INSERTED
      Enables adding a dummy reference key node to RefLink and RefImage so that the AST differs between [ ][] and plain [ ] for refLink and ![ ][] and plain ![ ] for RefImage
      See Also:
    • UNUSABLE

      static final int UNUSABLE
      See Also:
    • ALL_OPTIONALS

      static final int ALL_OPTIONALS
      All Optionals other than Suppress and FORCELISTITEMPARA which is a backwards compatibility extension
      See Also:
    • ALL_WITH_OPTIONALS

      static final int ALL_WITH_OPTIONALS
      See Also:
    • GITHUB_DOCUMENT_COMPATIBLE

      static final int GITHUB_DOCUMENT_COMPATIBLE
      These are GitHub main repo document processing compatibility flags
      See Also:
    • GITHUB_WIKI_COMPATIBLE

      static final int GITHUB_WIKI_COMPATIBLE
      These are GitHub wiki page processing compatibility flags
      See Also:
    • GITHUB_COMMENT_COMPATIBLE

      static final int GITHUB_COMMENT_COMPATIBLE
      These are GitHub comment (issues, pull requests and comments) processing compatibility flags
      See Also: