Add image_text style, which lets you change the look of an image's name/alt

This commit is contained in:
Christian Muehlhaeuser
2019-11-28 02:27:00 +01:00
parent 59b8ecde6d
commit 8ddf4be8b2
3 changed files with 7 additions and 6 deletions
+3
View File
@@ -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":