Skip to content

Conversation

@Light2Dark
Copy link
Contributor

📝 Summary

This was missed in the earlier PR because it was a branch of another branch.

This doesn't support all flavours of markdown, so some styling is missed.

image image

🔍 Description of Changes

📋 Checklist

  • I have read the contributor guidelines.
  • For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • I have added tests for the changes made.
  • I have run the code and verified that it works as expected.
@Light2Dark Light2Dark requested a review from manzt as a code owner November 25, 2025 09:25
@vercel
Copy link

vercel bot commented Nov 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Nov 25, 2025 2:29pm
parts: ContentPart[];
}) => {
if (isMarkdown(content)) {
return <MarkdownRenderer content={content} />;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this still runs on every cell, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could make <PopoutColumn> take a renderContent instead of children and track when the popout is open and do {isOpen ? renderContent() : null}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only runs when the cell is clicked and the popout is opened. Radix's popover only renders the content on open.
But it has to be a component, previously I did not use a custom component and it would call on every cell.

Thanks for the other comments, I agree. And we can also merge this after release for safety.

@mscolnick mscolnick merged commit 94418f0 into main Nov 25, 2025
41 checks passed
@mscolnick mscolnick deleted the sham/add-markdown-renderer-table branch November 25, 2025 16:22
@Light2Dark Light2Dark added the enhancement New feature or request label Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

3 participants