Files
oak-gpui/crates
Marshall Bowers 3bec4eb117 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
2025-03-03 21:01:26 +00:00
..
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-01-27 13:40:59 -05:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-03-03 15:04:46 +00:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 20:00:39 +00:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-03-03 12:48:51 -05:00