[PR #12783] fix: render question text with markdown formatting #14367

Open
opened 2026-02-16 18:19:10 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12783

State: open
Merged: No


Fixes #12781

Question text now renders markdown formatting instead of showing raw syntax.

Changes

  • Desktop: Use <Markdown> component for question text
  • TUI: Use <code filetype="markdown"> for question text in both active prompt and history
  • Tool hint: Added guidance in tool description to encourage markdown usage

Screenshots

  • Terminal (Before)
    image

  • Terminal (After)
    Screenshot 2026-02-09 at 12 43 15

  • Desktop (Before)
    image

  • Desktop (After)
    image

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12783 **State:** open **Merged:** No --- Fixes #12781 Question text now renders markdown formatting instead of showing raw syntax. ## Changes - **Desktop:** Use `<Markdown>` component for question text - **TUI:** Use `<code filetype="markdown">` for question text in both active prompt and history - **Tool hint:** Added guidance in tool description to encourage markdown usage ## Screenshots - Terminal (Before) <img width="1614" height="1106" alt="image" src="https://github.com/user-attachments/assets/1d661873-3765-4ffa-aec6-8ef87aca1109" /> - Terminal (After) <img width="789" height="543" alt="Screenshot 2026-02-09 at 12 43 15" src="https://github.com/user-attachments/assets/8ea6c813-7a04-4a47-8f36-025162533b6f" /> - Desktop (Before) <img width="1044" height="1088" alt="image" src="https://github.com/user-attachments/assets/3e0fe50f-ff6b-4250-a5d9-df818a6146d6" /> - Desktop (After) <img width="559" height="656" alt="image" src="https://github.com/user-attachments/assets/a2908bc1-b3b0-432a-a32f-d7da5ad9135f" />
yindo added the pull-request label 2026-02-16 18:19:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14367