forked from LiveCarta/BookConverter
Add support of list-style-type
This commit is contained in:
@@ -41,6 +41,13 @@ class LiveCartaConfig:
|
||||
r"(^h[1-9]$)": ["list-style-type"]
|
||||
}
|
||||
|
||||
"""
|
||||
Dictionary LIVECARTA_STYLE_ATTRS_REPLACE = { css property: css property to replace with }
|
||||
"""
|
||||
LIVECARTA_STYLE_ATTRS_REPLACE = {
|
||||
"list-style": "list-style-type",
|
||||
}
|
||||
|
||||
"""
|
||||
Dictionary LIVECARTA_STYLE_ATTRS = { css property: value }
|
||||
Style properties that can be used to fit LiveCarta css style convention.
|
||||
@@ -84,6 +91,6 @@ class LiveCartaConfig:
|
||||
"border-right": [],
|
||||
"border-left": [],
|
||||
"border-bottom": [],
|
||||
"list-style-type": [],
|
||||
"list-style-type": ["circle", "disc", "square", "decimal"],
|
||||
"list-style-image": [],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user