Function: renderTypstToSVG()
renderTypstToSVG(
source,options):Promise<TypstRenderResult>
Defined in: src/mobjects/text/TypstRenderer.ts:154
Compile a Typst source string to SVG and convert the result into VMobject paths suitable for manim-web animation.
The returned VMobject coordinates are raw SVG viewBox units (not world units).
The caller (Typst) applies the final point -> world conversion.
Parameters
source
string
The Typst source to compile (already wrapped for math mode
by MathTypst when applicable).
options
TypstRenderOptions = {}
Rendering options.
Returns
Promise<TypstRenderResult>