claude-code - 💡(How to fix) Fix [BUG] Typst (.typ) files show "No content available" in Live UI preview panel [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#58619Fetched 2026-05-14 03:43:34
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
labeled ×2

Error Message

Error Messages/Logs

Code Example

No content available
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When Claude writes or edits a Typst file (with the .typ extension), the file is correctly saved to the local directory, but the Live UI screen (the preview panel that appears on the right side of the interface) fails to render any content. Instead, it displays the message: "No content available".

What Should Happen?

Claude Code should be able to render the content of .typ files in the Live UI panel, just as it does for other source files like .py, .js, or .md. At a minimum, it should display the raw code content with basic text rendering.

Error Messages/Logs

No content available

Steps to Reproduce

  1. Start a session with Claude Code (claude).
  2. Give a prompt to create a Typst file: Create a file named report.typ with the content "Hello Typst!".
  3. Accept the file write permission.
  4. Once the file is written, look at the "Live UI" screen on the right.
  5. Observe that the panel shows "No content available" instead of the code content.

Claude Model

Not sure / Multiple models

Is this a regression?

No, this never worked

Last Working Version

2.1.62

Claude Code Version

2.1.62

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

The issue seems to be a missing mapping for the .typ file extension in the UI's rendering component. Renaming the file to report.txt or report.md causes the content to appear immediately in the Live UI, confirming that the content exists but the extension is not being handled correctly for display.

<img width="1736" height="793" alt="Image" src="https://github.com/user-attachments/assets/a69a08d9-9559-47ed-bfb8-fe70d90a6844" />

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Typst (.typ) files show "No content available" in Live UI preview panel [1 participants]