Markdown renderer with OPENCODE_EXPERIMENTAL_MARKDOWN is cutting the last row in tables #9293

Open
opened 2026-02-16 18:12:06 -05:00 by yindo · 1 comment
Owner

Originally created by @shivambaku on GitHub (Feb 13, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Hi Team,

I noticed that all tables have the last row cut when using the OPENCODE_EXPERIMENTAL_MARKDOWN flag.

Plugins

No response

OpenCode version

1.1.65

Steps to reproduce

  1. Use OPENCODE_EXPERIMENTAL_MARKDOWN=true opencode command at the terminal.
  2. Call any prompt that will output a markdown table. Ex: "Make a table with 3 rows."
  3. You will see that it will only show 2 rows (besides the header). Raw text shows it indeed made 3 rows.

Screenshot and/or share link

## Assistant (Build · claude-sonnet-4.5 · 2.3s)

Here's a table with 3 rows:

| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Row 1    | Data     | Info     |
| Row 2    | Data     | Info     |
| Row 3    | Data     | Info     |
Image

Operating System

macOS 26.2

Terminal

Wezterm

Originally created by @shivambaku on GitHub (Feb 13, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Hi Team, I noticed that all tables have the last row cut when using the OPENCODE_EXPERIMENTAL_MARKDOWN flag. ### Plugins _No response_ ### OpenCode version 1.1.65 ### Steps to reproduce 1. Use ```OPENCODE_EXPERIMENTAL_MARKDOWN=true opencode``` command at the terminal. 2. Call any prompt that will output a markdown table. Ex: "Make a table with 3 rows." 3. You will see that it will only show 2 rows (besides the header). Raw text shows it indeed made 3 rows. ### Screenshot and/or share link ``` ## Assistant (Build · claude-sonnet-4.5 · 2.3s) Here's a table with 3 rows: | Column 1 | Column 2 | Column 3 | |----------|----------|----------| | Row 1 | Data | Info | | Row 2 | Data | Info | | Row 3 | Data | Info | ``` <img width="452" height="366" alt="Image" src="https://github.com/user-attachments/assets/69284e79-6bd0-4398-9db2-23d4f7e7dacc" /> ### Operating System macOS 26.2 ### Terminal Wezterm
yindo added the opentuibug labels 2026-02-16 18:12:06 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 13, 2026):

This issue might be related to existing table rendering discussions. Please check:

  • #12164: Table border rendering with box-drawing characters
  • #11223: User-friendly display for markdown tables

These may provide additional context for your issue.

@github-actions[bot] commented on GitHub (Feb 13, 2026): This issue might be related to existing table rendering discussions. Please check: - #12164: Table border rendering with box-drawing characters - #11223: User-friendly display for markdown tables These may provide additional context for your issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9293