Update markdown.py (#1124)

This commit is contained in:
jiangmiemie 2023-06-03 03:34:33 +08:00 committed by GitHub
parent a18c6880b5
commit f790b28c49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,8 @@ class Markdown(Component):
"h1": "{({node, ...props}) => <Heading size='2xl' {...props} />}",
"h2": "{({node, ...props}) => <Heading size='xl' {...props} />}",
"h3": "{({node, ...props}) => <Heading size='lg' {...props} />}",
"h4": "{({node, ...props}) => <Heading size='sm' {...props} />}",
"h5": "{({node, ...props}) => <Heading size='xs' {...props} />}",
"ul": "{UnorderedList}",
"ol": "{OrderedList}",
"li": "{ListItem}",