mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 00:47:15 -04:00
fix: properly set table alignments
This commit is contained in:
committed by
Christian Muehlhaeuser
parent
ba919abf98
commit
9e3abf6f65
+2
-1
@@ -295,7 +295,8 @@ func (tr *ANSIRenderer) NewElement(node ast.Node, source []byte) Element {
|
||||
|
||||
// Tables
|
||||
case astext.KindTable:
|
||||
te := &TableElement{}
|
||||
table := node.(*astext.Table)
|
||||
te := &TableElement{table: table}
|
||||
return Element{
|
||||
Entering: "\n",
|
||||
Renderer: te,
|
||||
|
||||
Reference in New Issue
Block a user