warnings to become callouts
Read OriginalThis article discusses how several components from the wigglystuff Python library have been integrated into the marimo project as core features. The author explains the process of adding deprecation notices that only appear for marimo users, not Jupyter users, by checking if the code runs in marimo. Instead of plain Python warnings, the article shows how to generate styled HTML callouts with links, providing a better user experience in the browser. The code example demonstrates a function that renders a graduated widget notice with custom CSS styling.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet