mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-05 16:37:19 -04:00
Add image_text style, which lets you change the look of an image's name/alt
This commit is contained in:
@@ -20,6 +20,7 @@ const (
|
||||
Link
|
||||
LinkText
|
||||
Image
|
||||
ImageText
|
||||
Text
|
||||
HTMLBlock
|
||||
CodeBlock
|
||||
@@ -79,6 +80,8 @@ func keyToType(key string) (StyleType, error) {
|
||||
return LinkText, nil
|
||||
case "image":
|
||||
return Image, nil
|
||||
case "image_text":
|
||||
return ImageText, nil
|
||||
case "text":
|
||||
return Text, nil
|
||||
case "html_block":
|
||||
|
||||
Reference in New Issue
Block a user