markwon-ext-tables/src/main/java/ru/noties/markwon/ext/tables/Table.java
@Nullable
    public static Table parse(@NonNull Markwon markwon, @NonNull TableBlock tableBlock) {

        final Table table;

        final ParseVisitor visitor = new ParseVisitor(markwon);
        tableBlock.accept(visitor);
        final List<Row> rows = visitor.rows();

        if (rows == null) {
            table = null;
        } else {
            table = new Table(rows);
        }

        return table;
    }
@Nullable
    public static Table parse(@NonNull Markwon markwon, @NonNull TableBlock tableBlock) {

        final Table table;

        final ParseVisitor visitor = new ParseVisitor(markwon);
        tableBlock.accept(visitor);
        final List<Row> rows = visitor.rows();

        if (rows == null) {
            table = null;
        } else {
            table = new Table(rows);
        }

        return table;
    }
Factory method to obtain an instance of {@link Table}

@param markwon    Markwon
@param tableBlock TableBlock to parse
@return parsed {@link Table} or null