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
Support multiple JS backends. You can choose appropriate backend based on your environment.
quick-js: Enable by default. Use quick-js as the JS backend.
duktape: Use duktape as the JS backend. You need to disable the default features to enable this backend as shown in the below example.
katex = { version = "0.4.0", default-features = false, features = ["duktape"] }
wasm-js: Use wasm-bindgen and js-sys as the JS backend. You need to disable the default features to enable this backend as shown in the below example. Currently, it only supports browser environment. Node.js is unsupported.
katex = { version = "0.4.0", default-features = false, features = ["wasm-js"] }