mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-05 08:27:18 -04:00
Add image_text style, which lets you change the look of an image's name/alt
This commit is contained in:
@@ -32,8 +32,7 @@ func (e *LinkElement) Render(w io.Writer, node *bf.Node, tr *TermRenderer) error
|
||||
if len(node.LinkData.Destination) > 0 {
|
||||
el := &BaseElement{
|
||||
Token: resolveRelativeURL(tr.BaseURL, string(node.LinkData.Destination)),
|
||||
Prefix: " (",
|
||||
Suffix: ")",
|
||||
Prefix: " ",
|
||||
Style: Link,
|
||||
}
|
||||
err := el.Render(w, node, tr)
|
||||
|
||||
Reference in New Issue
Block a user