Files
notesnook/packages/editor/dist/extensions/math/plugin/index.js
2022-06-30 17:27:56 +05:00

19 lines
937 B
JavaScript

/*---------------------------------------------------------
* Author: Benjamin R. Bray
* License: MIT (see LICENSE in project root for details)
*--------------------------------------------------------*/
// core functionality
export { MathView } from "./math-node-view";
export { mathPlugin, createMathView, } from "./math-plugin";
export { mathSchemaSpec, createMathSchema } from "./math-schema";
// recommended plugins
export { mathBackspaceCmd } from "./plugins/math-backspace";
export { makeBlockMathInputRule, makeInlineMathInputRule, REGEX_BLOCK_MATH_DOLLARS, REGEX_INLINE_MATH_DOLLARS, REGEX_INLINE_MATH_DOLLARS_ESCAPED, } from "./plugins/math-input-rules";
// optional / experimental plugins
export { mathSelectPlugin } from "./plugins/math-select";
// commands
export { insertMathCmd } from "./commands/insert-math-cmd";
// utilities
export { mathSerializer } from "./utils/text-serializer";
export * from "./utils/types";