Skip to content

opentui: markdown is just rendered as text #3312

Closed

Description

@Isos9

Description

Hi, the markdown returned by a model doesn't get rendered and highlighted, it's simply text.

OpenCode version

opentui

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

Arch

Terminal

Alacritty

Activity

  1. github-actions commented on Oct 20, 2025

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  2. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Oct 20, 2025
  3. rekram1-node commented on Oct 20, 2025

    @rekram1-node
    Contributor

    Yeah we are gonna fix this soon and fix it before it's shipped

  4. Isos9 commented on Oct 21, 2025

    @Isos9
    Author

    do you guys have a list ? might be better to know what you planned to avoid creating more issues. because I do see other things missing

  5. rekram1-node commented on Oct 21, 2025

    @rekram1-node
    Contributor

    im tracking open issues with opentui label, we also have some in our internal channels but im I think a decent # of them are issues on github too

    Anything you see that you think needs to be addressed, issues are more than welcome! Worst case there is a duplicate but that's no biggie

  6. shaunpatel commented on Oct 30, 2025

    @shaunpatel

    For me it's also not highlighting code diffs.

  7. tylimbach commented on Nov 24, 2025

    @tylimbach
    Contributor

    I can reproduce this on Windows 11 using WezTerm with v1.0.107.

    When I run from source with: bun install && bun dev, markdown text renders correctly. The rendering bug only appears when using the deployed binaries, whether downloaded directly or via a package manager.

  8. rekram1-node commented on Nov 24, 2025

    @rekram1-node
    Contributor

    Yeah we have been looking into it, something with bun single file executables makes the issue start happening, only affects windows

  9. apekros commented on Nov 25, 2025

    @apekros

    Yeah we have been looking into it, something with bun single file executables makes the issue start happening, only affects windows

    This issue is also occurring on v1.0.105 for me in ghostty/on NixOS

  10. bartman commented on Nov 25, 2025

    @bartman

    I'm seeing no code highlighting or diff highlighting after upgrading to 1.0.105 (don't recall seeing this issue with .20 or .78).

    Markdown just looks like text.

    I'm on NixOS/Linux, using kitty.

  11. rekram1-node commented on Nov 26, 2025

    @rekram1-node
    Contributor

    @bartman @apekros both of you say 1.0.105 broke it, what about 1.0.104?

    bunx opencode-ai@1.0.105

  12. NightRare commented on Nov 26, 2025

    @NightRare

    both of you say 1.0.105 broke it, what about 1.0.104?

    bunx opencode-ai@1.0.105

    1.0.104 also doesn't work for me. I never saw markdown syntax highlight on 1.0.x

  13. rekram1-node commented on Nov 26, 2025

    @rekram1-node
    Contributor

    well i think ur on windows, right?, we are working on a fix for that

  14. ApprenticeofEnder commented on Nov 26, 2025

    @ApprenticeofEnder

    Confirmed it's on the Home Manager binaries for 1.0.105 on MacOS, too. Granted that's technically Nix binaries, but that means it's evidently an issue with the binary itself.

  15. apekros commented on Nov 26, 2025

    @apekros

    both of you say 1.0.105 broke it, what about 1.0.104?
    bunx opencode-ai@1.0.105

    1.0.104 also doesn't work for me. I never saw markdown syntax highlight on 1.0.x

    With bunx, both opencode-ai@1.0.105 and opencode-ai@1.0.104 the markdown syntax highlighting works.

    I am unsure what has changed, on 1.0.45 on NixOS it works, but any later binary does not

  16. ApprenticeofEnder commented on Nov 27, 2025

    @ApprenticeofEnder

    both of you say 1.0.105 broke it, what about 1.0.104?
    bunx opencode-ai@1.0.105

    1.0.104 also doesn't work for me. I never saw markdown syntax highlight on 1.0.x

    With bunx, both opencode-ai@1.0.105 and opencode-ai@1.0.104 the markdown syntax highlighting works.

    I am unsure what has changed, but now on the nix binary I am not having issues since using bunx

    Weird, the bunx executable is fine, but the Nix binaries are still messed up. (bunx on the left, Nix on the right)

    Image
  17. rekram1-node commented on Dec 4, 2025

    @rekram1-node
    Contributor

    I believe this is fixed on latest

  18. NightRare commented on Dec 4, 2025

    @NightRare

    @rekram1-node Thank you for the fix! I just upgraded to 1.0.132 and can confirm it's fixed on my Windows machine.

  19. somera commented on Dec 4, 2025

    @somera

    I can't test it because of the proxy issue. ;)

  20. ApprenticeofEnder commented on Dec 18, 2025

    @ApprenticeofEnder

    Still seems to be broken on the nixpkgs 1.0.133? Might be some weird dependency missing.

  21. ritiek commented on Dec 25, 2025

    @ritiek

    @ApprenticeofEnder Had the same issue. Looks to be working for me now with nixpkgs 1.0.180 (NixOS/nixpkgs#472229).

  22. sergeyzwezdin commented on Mar 12, 2026

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions