Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

387 B
Raw Blame
import { MathfieldElement } from "mathlive";
import "mathlive/fonts.css";

// Vite packages the fonts locally. Disable MathLive's automatic directory/CDN
// loading and optional key sounds so the editor also works in desktop/offline use.
MathfieldElement.fontsDirectory = null;
MathfieldElement.soundsDirectory = null;

export { MathfieldElement, convertLatexToMarkup } from "mathlive";