Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Default Parse Rules #31

Closed
wants to merge 3 commits into from
Closed

Export Default Parse Rules #31

wants to merge 3 commits into from

Conversation

phxtho
Copy link

@phxtho phxtho commented Dec 22, 2021

What

Added default parse rule plugins to the export of the package

Why

Whilst converting the prosemirror-math to a remirror extension. I noticed in math-schema.ts that defaultInlineMathParseRules where being destructured into the schema

parseDOM: [{ tag: "math-inline" },...defaultInlineMathParseRules]

Other stuff

  1. The remirror extension
  2. Judging from the snippets in attempts to support tiptap I think this change will help with adding parse rules to other prosemirror based editors Support Tiptap #27

@benrbray
Copy link
Owner

Thanks for your contribution (and sorry for the very late reply)! I'm not able to merge your PR since the structure of the project has changed, but I just merged PR #67 which exposes the parse rules.

@benrbray benrbray closed this Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants