Skip to content

Desktop: User messages are rendered as raw Markdown instead of formatted Markdown #21510

Closed as not planned

Description

@yart

Summary

In OpenCode Desktop, Markdown inside user messages is displayed as plain/raw text instead of rendered Markdown.

Environment

  • OpenCode Desktop: 1.4.0
  • OS: Arch Linux
  • Session/WM: Hyprland (Wayland)

Expected behavior

User message bubbles should render Markdown similarly to assistant messages:

  • headings
  • horizontal rules
  • bullet/numbered lists
  • fenced code blocks
  • inline formatting (**bold**, _italic_, `code`)

Actual behavior

User message bubbles show raw Markdown syntax literally (e.g. ##, ---, fenced backticks, **...**) instead of formatted output.

Reproduction steps

  1. Open a chat in Desktop.
  2. Send this exact message:
## Heading 2

Some paragraph.

Horizontal rule:

---

List:
- item
- item

Numbered list:
1. item 1
2. item 2

Code block:
```ruby
puts "Hello world"
```

---

### Heading 3

**Bold**, _italic_, `inline code`.
Example screenshot Image
  1. Observe the user message bubble.

Result

Markdown is not rendered in the user bubble; it appears as plain text with Markdown markers.

Notes

This is a UX inconsistency because assistant messages are Markdown-rendered while user messages are not.

Activity

  1. github-actions commented on Apr 8, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. yart commented on Apr 8, 2026

    @yart
    Author

    This issue might be a duplicate of existing issues. Please check:

    Related: #12791, but this report is not a duplicate.

    Differences:

    1. Scope: this issue covers broader Markdown rendering in user messages (headings, lists, horizontal rules, fenced blocks, inline formatting), not only inline/fenced code.
    2. Surface: this is reproduced in Desktop v1.4.0 (Arch Linux / Hyprland).
    3. Type: this is reported as a current UX bug/inconsistency with clear reproduction steps.
  3. removed
    webRelates to opencode on web / desktop
    on May 3, 2026
  4. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions