Commit f6c81509 authored by hewenhao's avatar hewenhao

feat: update

parent 4cf29630
......@@ -82,6 +82,11 @@ export function renderRichText (node: Node) {
<View className={cs.tbody}>{renderChildren(['tr'])}</View>
)
}
case 'MathEquation': {
return (
<View className={cs.math_equation}>{renderChildren()}</View>
)
}
}
return (
......
......@@ -31,6 +31,15 @@
border-color: inherit;
}
.math_equation {
display: flex;
align-items: center;
justify-content: center;
font-size: 80px;
font-weight: 500;
padding: 20px 0;
}
.tr {
display: table-row;
vertical-align: inherit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment