Move listitem styling to style JSON

This commit is contained in:
Christian Muehlhaeuser
2019-11-26 22:42:52 +01:00
parent 730f9bd2fb
commit a601b62b90
+1 -1
View File
@@ -21,7 +21,7 @@ func (e *ItemElement) Render(w io.Writer, node *bf.Node, tr *TermRenderer) error
}
el := &BaseElement{
Prefix: strings.Repeat(" ", l-1) + "• ",
Prefix: strings.Repeat(" ", l-1),
Token: string(node.Literal),
Style: Item,
}