Expand description
LaTeX formula editor with live preview.
Provides a split-pane interface with a LaTeX input area and real-time KaTeX rendering. Includes quick-insert buttons for common symbols.
§Components
FormulaEditor- Full editor with input, quick-insert, and previewLatexPreview- Standalone preview component
§Props (FormulaEditor)
latex- Current LaTeX sourceon_change- Callback when source changeson_insert- Optional callback for quick-insert buttons
Re-exports§
pub use FormulaEditor_completions::Component::FormulaEditor;pub use LatexPreview_completions::Component::LatexPreview;
Structs§
- Formula
Editor Props - Properties for the
FormulaEditorcomponent. - Latex
Preview Props - Properties for the
LatexPreviewcomponent.
Functions§
- Formula
Editor - Props
- Latex
Preview - Standalone preview component that just renders LaTeX.