@math-blocks/typesetter
v0.0.10
Published
This package provides functions for generating renderer-agnostic scene graphs from `Editor.Node`s. The scene graphs can be rendered using components from @math-blocks/react. They include the cursor or selection highlight when present.
Downloads
194
Readme
@math-blocks/typesetter
This package provides functions for generating renderer-agnostic scene graphs
from Editor.Node
s. The scene graphs can be rendered using components from
@math-blocks/react. They include the cursor or selection highlight when present.
Functions
typeset
: returns a scene graph for single-line math.typesetWithWork
: returns a scene graph for multi-line math.
TODO
- Switch to a different font, maybe STIX
- Limits, summations, integrals
- Units of measure
- Trigonmetric functions