You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`mlongdiv`|`msqrt`|`mroot`|`mi`|`mn`|`mo`|`tex` (custom tag for this package) |||||
110
+
|`mlongdiv`|`msqrt`|`mroot`|`mi`|`mn`|`mo`||||||
111
111
112
112
113
113
## Currently Supported CSS Attributes:
@@ -718,11 +718,26 @@ If you'd like to see more MathML features, feel free to create a PR or file a fe
718
718
719
719
### Tex
720
720
721
-
If you have a Tex string you'd like to render inside your HTML you can do that!
721
+
If you have a Tex string you'd like to render inside your HTML you can do that using the same [`flutter_math`](https://pub.dev/packages/flutter_math) plugin.
722
722
723
-
Use the custom `<tex>`tag inside your HTML, and place your **raw** Tex string inside. The package uses the same logic as MathML rendering above, but doesn't need to parse the string, of course.
723
+
Use a custom tag inside your HTML (an example could be `<tex>`), and place your **raw** Tex string inside.
724
724
725
-
The rendering error will also be called if your Tex string fails to render.
725
+
Then, use the `customRender` parameter to add the widget to render Tex. It could look like this:
0 commit comments