Closed metaboulie closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
marimo-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 9, 2024 9:25am |
marimo-storybook | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 9, 2024 9:25am |
Could also consider figcaption
@metaboulie, i think @hkrutzer's recommendation is a good one, and we can change the div's to figure/figurecaption
@mscolnick To use figure/figurecaption, I added two methods in _HTMLBuilder
, hope this is correct
🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.9.18-dev1
📝 Summary
fixes #2732
Add optional caption parameter to
mo.image()
that displays descriptive text below the image using the muted foreground color from the theme. Captions are center-aligned and maintain proper spacing.📋 Checklist
📜 Reviewers
@akshayka OR @mscolnick