From caa70ccd0cd3990db5a4cb99d0b678d5016cfbf8 Mon Sep 17 00:00:00 2001 From: Benjamin Bray Date: Thu, 11 Apr 2024 17:57:39 +0900 Subject: [PATCH] export default parse rules --- CHANGELOG.md | 1 + lib/main.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7877b3..8bc91e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +* export `defaultInlineMathParseRules`, `defaultBlockMathParseRules` * use `vite` and simplify the project configuration * removed the unused `ICursorPosObserver` interface and related code * removed the unused `onDestroy` parameter to `MathView` diff --git a/lib/main.ts b/lib/main.ts index 6f5db54..895f652 100644 --- a/lib/main.ts +++ b/lib/main.ts @@ -11,6 +11,7 @@ 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-inputrules"; +export { defaultInlineMathParseRules, defaultBlockMathParseRules } from "./plugins/math-paste-rules" // optional / experimental plugins export { mathSelectPlugin } from "./plugins/math-select";