@math-blocks/typesetter
v0.0.11
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
114
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