Repository navigation
Description
Pre-submit Checks
- I have searched Warp feature requests and there are no duplicates
- I have searched Warp docs and my feature is not there
Describe the solution you'd like?
Warp's Markdown Viewer should render raw HTML <table>/<thead>/<tbody>/<tr>/<th>/<td> tags as a formatted table, the same subset GitHub renders. To be clear up front: this is not about GFM pipe-syntax tables (| a | b |) — those already render correctly in Warp, gated behind FeatureFlag::MarkdownTables. This is specifically about raw HTML table markup, which authors reach for when they need something pipe syntax can't express, most commonly a <br> inside a cell.
Scope note: this issue covers the un-spanned raw-HTML table subset — simple tables plus <br>-in-cell. colspan/rowspan (merged cells) is tracked separately in #13953, since spanning cells need a non-rectangular grid model that's a substantially larger, independent piece of work. A <td colspan>/<td rowspan> in the input degrades deterministically to a single ordinary cell until #13953 lands — see that issue for merged-cell support.
Expected behavior: the raw HTML table renders as a formatted table, matching the same subset GitHub supports (excluding merged cells, per #13953).
Is your feature request related to a problem? Please describe.
Docs and READMEs that need multi-line cell content drop into raw HTML tables because GFM pipe tables have no syntax for it. Today those raw tables don't render at all in Warp's viewer — they flatten to plain text lines.
Concretely, today in Warp's Markdown Viewer (verified on this build):
The raw HTML table renders as literal/flattened text per source line, while a GFM pipe-table with the same data right below it renders as a real formatted table.
Additional context
Test case:
# HTML `<table>` family
Should render: a formatted 2x3 table with a header row, right below a GFM pipe-table with the same data for contrast. Currently: expect the raw HTML tags to render as literal text/flattened lines, while the pipe table below renders as a real table (GFM pipe tables ARE supported, gated behind `FeatureFlag::MarkdownTables`).
Raw HTML table:
<table>
<thead>
<tr><th>Feature</th><th>Status</th></tr>
</thead>
<tbody>
<tr><td>Dark mode</td><td>Shipped</td></tr>
<tr><td>Tabs</td><td>Shipped</td></tr>
<tr><td>AI blocks</td><td>Beta</td></tr>
</tbody>
</table>
GFM pipe-table equivalent (should render as a real table):
| Feature | Status |
| --------- | ------- |
| Dark mode | Shipped |
| Tabs | Shipped |
| AI blocks | Beta |Code pointers. As far as I can tell:
- The repo's own paste-path test,
test_unsupported_html_types(crates/markdown_parser/src/html_parser_tests.rs), feeds a full<table><thead>…and asserts it flattens to plain-text lines, with a comment noting the test should be updated "when we eventually support these HTML element types" — which reads as confirmation this is a known, intentional gap rather than an oversight. - The only
FormattedTableproducer in the.mdrender path is the GFM pipe-syntax parser inmarkdown_parser.rs(parse_table*functions), gated byFeatureFlag::MarkdownTables(flag defined incrates/warp_features/src/lib.rs, gate checked aroundcrates/editor/src/content/buffer.rs). Raw HTML table tags never reach that code path. - On the paste path,
html_parser.rsactively unwrapstableviaTOP_LEVEL_ELEMENT_TAGS_TO_SKIP, andthead/tbody/tr/th/tdhave no handlers of their own — they fall to the generic recurse-into-children arm.
Related: this splits out one tag from #13652 (bulk raw-HTML-subset request, since closed in favor of per-feature issues). Spec draft #13661 already exists for HTML tables and is being retargeted to this issue rather than closed. colspan/rowspan support is tracked separately as #13953. See also (same rendering subsystem, different asks): #4739 (markdown pipe tables) and #9016 (horizontal scrolling for wide tables). Sibling issues from the same split: #13721 (<img> sizing), #13725 (anchor links), #10259 (<details>/<summary> — pre-existing request), #13732 (<br>), #13733 (<kbd>), #13734 (<sub>/<sup>), #13735 (align on <p>/<div>), #13736 (<picture>/<source>)
Operating system (OS)
macOS
How important is this feature to you?
4
Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1
No response
Activity
warp-for-oss commentedon Jul 14, 2026
@fbartho
Here's what I found while triaging this issue:
This appears to be an unsupported feature gap rather than a regression: Warp currently supports GFM pipe tables, but not raw HTML table markup in the Markdown viewer. The provided test case is sufficient for initial reproduction.
Maintainer details
I concluded that feature request to render raw HTML table markup as formatted tables in the Markdown viewer, currently unsupported while GFM pipe tables work..
Triage summary
This is a well-scoped enhancement request for the Markdown viewer to render raw HTML
<table>markup as a formatted table. The provided fixture is enough to reproduce the current behavior: raw HTML table content is flattened as text while the equivalent GFM pipe table renders as a table.Maintainer notes
FormattedTextLine::Tablefrom GFM pipe tables throughparse_tablewhenFeatureFlag::MarkdownTablesis enabled in the buffer construction path.table/thead/tbody/tr/th/tdintoFormattedTable.tableinTOP_LEVEL_ELEMENT_TAGS_TO_SKIP, and the table section tags fall through to generic child traversal.test_unsupported_html_typescurrently asserts this flattening behavior with a TODO to update when these HTML element types are supported.FormattedTable, so the likely work is parser support plus decisions/tests for the supported raw-HTML subset, especially<br>inside cells andcolspan/rowspan.Duplicate check
I enumerated all open issues and recent closed issues. I found related Markdown-viewer/raw-HTML sibling requests (#13721, #13725) and the recently closed umbrella #13652, but not two existing issues matching this exact raw HTML table support request, so I am not marking this as a duplicate.
Follow-up
No reporter follow-up is needed for initial triage; the requested behavior, current behavior, and a minimal fixture are all provided.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
bnavetta commentedon Jul 17, 2026
I'd recommend sequencing this into a few chunks:
<table>tags into the same representation as GFM tableswarp-for-oss commentedon Jul 17, 2026
This issue has been labeled
ready-to-specand is open for contributions in the form of a product or technical spec. If you'd like to draft one, feel free to open a pull request with the spec underspecs/. You can also comment@oz-agenton this issue to have the bot draft the spec automatically.warp-agent-staging commentedon Jul 17, 2026
Your GitHub account is not connected to Warp. Connect it here.
docs(specs): resolve GH13726 Oz review findings on tables spec
docs(specs): bind span-split acceptance criteria, fix detector/escape…
docs(specs): respec the anchor resolver walk and pin table-cell scope