KaTeX for Dioxus
Render math with KaTeX in Dioxus!
How to use
- First you need to import css cdn:
- Call
use_katex_displayhook to prepare context. - Call
compileto get math expression node.
use use_katex_display;
let katex = use_katex_display;
let math = katex.compile;