package
Version:
v1.0.48254
Opens a new window with list of versions in this module.
Published: Aug 14, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package mdtable builds GitHub-Flavored Markdown tables.
Example:
t := mdtable.New("Name", "Value")
t.Row("FOO", "bar")
t.Row("BAZ", "qux")
fmt.Print(t.Render())
Table accumulates headers and rows, then renders a GFM-aligned table.
New creates a Table with the given column headers.
Render returns the GFM markdown table string.
Row appends a data row. Values beyond the header count are ignored;
missing values are treated as empty strings.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.