DanielJGeiger
DanielJGeiger
#3915 is a rollup subset of #2993. #2993 contributes three features: an initial `@excalidraw/plugins` package; custom `ExcalidrawElement` subtype extensions; and MathJax support as a plugin. MathJax support is essentially stable....
Before:  After: 
This reduces boilerplate in advance of `@excalidraw/plugins`. This would also have decreased `dependabot` clutter if that were still in use.
### **Overview of PR** This PR is ready for review. All features are effectively stable: MathJax support, `ExcalidrawElement` subtypes, custom actions/shortcuts, and the `@excalidraw/extensions` package. More info about these may...
Even #5311 is starting to get cluttered with Vercel deployments left over after periodic force-pushes. So, I'm opening this issue as a tidier place for discussion related to MathJax support...
Take 2 rolling up #2993: - Lazy-loads MathJax and only after math is detected. - Renders math only if math formulas are present. - Uses standard Latex input as well...
The package `@excalidraw/plugins` created by this PR is more-or-less a simplified fork of `@excalidraw/excalidraw`. This PR provides minimal stubs for integration in `@excalidraw/excalidraw` and on https://excalidraw.com and ships with an...
For an example of this PR in action, see #2993. #5288 is taken from #2993 (and the PR #3915 included in #2993).
#2993 uses #5289 to select between standard and simplified math input (Latex/AsciiMath) and mixed-text/math-only modes.
This is a space to discuss developing an `@excalidraw/extensions` package. Per correspondence with @dwelle, "extensions" would be reviewed by @excalidraw, while "plugins" would be community-made without review by @excalidraw. (Both...