Marimo is an open-source reactive notebook for Python. It is possible to replace markdown cells with typst SVG.
https://github.com/marimo-team/marimo/discussions/2441
I posted it in marimo's GitHub discussions a few days ago, and it looks like this is the best solution by far.
By the way for Jupyter notebook: https://github.com/xingjian-zhang/typst2img/
GitHub
Typst is a simple markup. typst(r""" #let ee = math.upright("e") $ 1/sqrt(2pi) ee^(-x^2 / 2). $ """) from functools import cache from subprocess import Call...