marimo magic
Example of how to use a Jupyter Magic (still a bit of a hack https://static.marimo.app/static/manim-example-rket )
Marimo could potentially have a decorator that would make this look nicer
@mo.Magic(whatever):
def magic_impl(whatever):
pass
magic_impl
1 Reply
this would be nice to be able to support existing magic but everything as valid python