benrbray / prosemirror-math

Schema and plugins for "first-class" math support in ProseMirror!
https://benrbray.com/prosemirror-math/
MIT License
245 stars 35 forks source link

Export default parse rules, another version #40

Closed sawyerpollard closed 3 months ago

sawyerpollard commented 2 years ago

Hello Benjamin Bray! Thank you for your work on this plugin. I see that another person made a pull request to export default parse rules, but I figured I'd make a slight tweak to that PR. This doesn't alter any imports unlike the other PR. This pull request simply exports the parse rules from index.ts and rebuilt the dist folder with npm run build:dist.

I think this would be a valuable feature, unless of course the implementation is considered too experimental.

Anyways, thank you for the work you do!

benrbray commented 3 months ago

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.