mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-05 16:37:19 -04:00
Add new element style 'enumeration', used for items in ordered lists
This commit is contained in:
@@ -11,6 +11,7 @@ const (
|
||||
BlockQuote
|
||||
List
|
||||
Item
|
||||
Enumeration
|
||||
Paragraph
|
||||
Heading
|
||||
HorizontalRule
|
||||
@@ -90,6 +91,8 @@ func keyToType(key string) (StyleType, error) {
|
||||
return List, nil
|
||||
case "item":
|
||||
return Item, nil
|
||||
case "enumeration":
|
||||
return Enumeration, nil
|
||||
case "paragraph":
|
||||
return Paragraph, nil
|
||||
case "heading":
|
||||
|
||||
Reference in New Issue
Block a user