base template: read README as utf-8 (#2064)
This commit is contained in:
parent
d5c7cedf31
commit
269334014d
@ -13,6 +13,6 @@ def index() -> rx.Component:
|
|||||||
Returns:
|
Returns:
|
||||||
The UI for the home page.
|
The UI for the home page.
|
||||||
"""
|
"""
|
||||||
with open("README.md") as readme:
|
with open("README.md", encoding="utf-8") as readme:
|
||||||
content = readme.read()
|
content = readme.read()
|
||||||
return rx.markdown(content, component_map=styles.markdown_style)
|
return rx.markdown(content, component_map=styles.markdown_style)
|
||||||
|
Loading…
Reference in New Issue
Block a user