Skip to main content
Version: 1.0.0

Math Plugin

MathPlugin inserts and edits math nodes with template-assisted formula authoring.

Install and import

import { MathPlugin } from "@editora/plugins";
// or: import { MathPlugin } from "@editora/plugins/math";

Usage

const plugins = [MathPlugin()];

Command Matrix

ActionCommandShortcutToolbar
Open math dialog / insert formulainsertMathMod-Shift-mInsert Math

Config Options

This plugin does not expose plugin-level config options.

Behavior

  • Supports inline and block math insertion
  • Includes preset formula templates (fractions, integrals, matrices, etc.)
  • Supports editing existing math nodes via dialog interaction

Validation checklist

  • Insert/edit flow preserves formula metadata
  • Inline/block rendering stays stable
  • Dark theme formula UI remains readable