mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
Update table.go
This commit is contained in:
parent
c0856327b3
commit
1efd8073c5
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ func (n *TableRow) Kind() gast.NodeKind {
|
|||
|
||||
// NewTableRow returns a new TableRow node.
|
||||
func NewTableRow(alignments []Alignment) *TableRow {
|
||||
return &TableRow{}
|
||||
return &TableRow{Alignments: alignments}
|
||||
}
|
||||
|
||||
// A TableHeader struct represents a table header of Markdown(GFM) text.
|
||||
|
|
|
|||
Loading…
Reference in a new issue