mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-10-27 03:29:58 -04:00
Move listitem styling to style JSON
This commit is contained in:
1 parent
730f9bd2fb
commit
a601b62b90
1 file changed
+1
-1
+1
-1
@@ -21,7 +21,7 @@ func (e *ItemElement) Render(w io.Writer, node *bf.Node, tr *TermRenderer) error
|
|||||||
}
|
}
|
||||||
|
|
||||||
el := &BaseElement{
|
el := &BaseElement{
|
||||||
Prefix: strings.Repeat(" ", l-1) + "• ",
|
Prefix: strings.Repeat(" ", l-1),
|
||||||
Token: string(node.Literal),
|
Token: string(node.Literal),
|
||||||
Style: Item,
|
Style: Item,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user