mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-05 16:37:19 -04:00
Support strikethrough elements
This commit is contained in:
@@ -25,6 +25,7 @@ const (
|
||||
|
||||
// Text elements
|
||||
Text
|
||||
Strikethrough
|
||||
Emph
|
||||
Strong
|
||||
HorizontalRule
|
||||
@@ -275,6 +276,8 @@ func keyToType(key string) (StyleType, error) {
|
||||
return H6, nil
|
||||
case "hr":
|
||||
return HorizontalRule, nil
|
||||
case "strikethrough":
|
||||
return Strikethrough, nil
|
||||
case "emph":
|
||||
return Emph, nil
|
||||
case "strong":
|
||||
|
||||
Reference in New Issue
Block a user