-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
markdown: Add initial support for tables (#25954)
This PR adds initial support for displaying tables to the `markdown` crate. This allows us to render tables in Assistant 2: | Before | After | | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | | <img width="1309" alt="Screenshot 2025-03-03 at 1 39 39 PM" src="https://github.com/user-attachments/assets/ad7ada01-f35d-4fcf-a20c-deb42b55b34e" /> | <img width="1297" alt="Screenshot 2025-03-03 at 3 38 21 PM" src="https://github.com/user-attachments/assets/9b771126-30a0-479b-8c29-f5f572936f56" /> | There are a few known issues that should be addressed as follow-ups: - The horizontal scrolling within a table is linked with the scrolling of the parent container (e.g., the Assistant 2 thread) - Cells are currently cut off entirely when they are too wide, would be nice to truncate them with an ellipsis Release Notes: - N/A
- Loading branch information
1 parent
bf6cc26
commit 3bec4eb
Showing
1 changed file
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters