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







