Closed paddymul closed 5 days ago
Something like this: https://docs.marimo.io/api/miscellaneous.html#marimo.running_in_notebook
The docs for this are here: https://docs.marimo.io/guides/integrating_with_marimo/index.html#integrating-with-marimo
Let us know if this can be improved
Great. I did some searching, but that looks like exactly what I needed.
Thank you
Documentation is
Explain in Detail
I'm a library author and I want to determine if my code is running in Marimo. In particular I want to register displayers for the appropriate context of my library.
Some environments have different error conditions and understanding the environment lets me send users better error messages, especially around the first install/use.
Your Suggestion for Changes
Here is my current utility function for determining the notebook environment