mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 00:47:15 -04:00
Move listitem styling to style JSON
This commit is contained in:
+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