A simple widget to compile and render typst documents in Marimo. The widget also works on Jupyter lab, however, the use is less conventient due to Jupyter lab capuring keypresses.
from typst_anywidget import TypstInput
taw =mo.ui.anywidget(TypstInput())
taw
Clone the repository:
git clone https://github.com/mihetare/typst_anywidget.gitBuild and install:
npm run build && pip install .