MDExNative.Comrak.GridTable (MDExNative v0.3.6)

Copy Markdown View Source

A Pandoc-style grid table, enabled with extension: [grid_table: true].

Its children are MDExNative.Comrak.GridTableRows. columns holds one MDExNative.Comrak.GridTableColumn per column. render: [grid_table_widths: true] writes a <colgroup> with each column's share of the total width.

Spec: https://comrak.ee/extensions/grid-table.html

Summary

Types

t()

@type t() :: %MDExNative.Comrak.GridTable{
  columns: [MDExNative.Comrak.GridTableColumn.t()],
  nodes: [MDExNative.Comrak.ast_node()],
  sourcepos: term()
}