Class TablesExtension.Builder
java.lang.Object
org.commonmark.ext.gfm.tables.TablesExtension.Builder
- Enclosing class:
TablesExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.commonmark.Extensionbuild()Set the maximum number of cells that are parsed for a single table; if more cells are present in the source, parsing will throw an exception.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxCells
Set the maximum number of cells that are parsed for a single table; if more cells are present in the source, parsing will throw an exception. This is to guard against malicious input.The default is
TablesExtension.DEFAULT_MAX_CELLS; usenullfor no limit. -
build
public org.commonmark.Extension build()- Returns:
- a configured extension
-