Class PegDownPlugins

java.lang.Object
org.pegdown.plugins.PegDownPlugins

public class PegDownPlugins extends Object
Encapsulates the plugins provided to pegdown. Construct this using @{link PegdownPlugins#builder}, and then passing in either the Java plugin classes, or precompiled rules (for greater control, or if using Scala rules).
  • Field Details

    • NONE

      public static PegDownPlugins NONE
      Convenience reference to no plugins.
  • Method Details

    • getInlinePluginRules

      public org.parboiled.Rule[] getInlinePluginRules()
    • getBlockPluginRules

      public org.parboiled.Rule[] getBlockPluginRules()
    • getSpecialChars

      public Character[] getSpecialChars()
    • builder

      public static PegDownPlugins.Builder builder()
    • builder

      public static PegDownPlugins.Builder builder(PegDownPlugins like)
      Create a builder that is a copy of the existing plugins