Skip to content

Commit

Permalink
export default parse rules
Browse files Browse the repository at this point in the history
  • Loading branch information
benrbray committed Apr 11, 2024
1 parent abe5a56 commit caa70cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
1 change: 1 addition & 0 deletions lib/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit caa70cc

Please sign in to comment.