MyST Markdown now supports interactive JavaScript widgets with the new {𝗮𝗻𝘆𝘄𝗶𝗱𝗴𝗲𝘁} directive.
The directive uses the same 𝗿𝗲𝗻𝗱𝗲𝗿({ 𝗺𝗼𝗱𝗲𝗹, 𝗲𝗹 }) interface as anywidget in Jupyter notebooks, so existing widget authors can reuse their work directly in books and articles. mystmd bundles your ESM and CSS modules at build time, and the feature works without any Jupyter kernel.
The implementation started at SciPy 2024 and has been upstreamed into mystmd and Jupyter Book 2.
Read more: https:
#Jupyter #MyST #JupyterBook #OpenSource #InteractiveComputing #DataScience
https://blog.jupyter.org/the-myst-anywidget-directive-daa55c348ab2


