Class TableExtension

  • All Implemented Interfaces:
    org.commonmark.Extension, org.commonmark.parser.Parser.ParserExtension

    public class TableExtension
    extends java.lang.Object
    implements org.commonmark.parser.Parser.ParserExtension
    Extension for GFM tables using "|" pipes (GitHub Flavored Markdown).

    Create it with create() and then configure it on the builders (Parser.Builder.extensions(Iterable), HtmlRenderer.Builder.extensions(Iterable)).

    The parsed tables are turned into Table blocks.

    See Also:
    Tables (extension) in GitHub Flavored Markdown Spec
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.commonmark.Extension create()  
      void extend​(org.commonmark.parser.Parser.Builder parserBuilder)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static org.commonmark.Extension create()
      • extend

        public void extend​(org.commonmark.parser.Parser.Builder parserBuilder)
        Specified by:
        extend in interface org.commonmark.parser.Parser.ParserExtension