[Bug]: Markdown file preview renders YAML frontmatter as a setext heading
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 77/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- markdown, react, typescript, yaml
調査の方向性
apps/web の Markdown プレビューから始め、指定されたファイルをどのように表示するかをたどってください。issue では、プレビューが remark または react-markdown を使っている可能性が示されています。レンダリング前に YAML frontmatter が解析されるか確認してください。プレビューがドキュメントの見出しから始まり、frontmatter が非表示になるか、コンパクトなキーと値の表として表示されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
-
Open a project that has a Markdown file starting with YAML frontmatter, for example:
--- type: Task title: Decide the joke source and Draft safety limits description: Settle where Jokes come from and what a Draft may never contain. status: draft task_status: ready blocked_by: [] created: 2026-10-22 --- # Decide the joke source and Draft safety limits -
Open that file from the Files panel so it shows in the rendered Markdown preview.
Expected behavior
The frontmatter block is recognised as metadata. It is either hidden or shown as a small key/value table, the way GitHub, GitLab and Obsidian render it. The document starts at the # heading.
Actual behavior
The frontmatter is rendered as ordinary Markdown:
- The opening
---becomes a horizontal rule. - All the YAML lines collapse into one paragraph (
type: Task title: … created: 2026-10-22). - The closing
---under that paragraph turns it into a setext H2.
So every file with frontmatter opens with a large bold run-on "heading" made of its metadata.
Impact
Minor bug or occasional failure
Version or commit
T3 Code (Beta) desktop 0.1.0
Environment
macOS 27 (Darwin 27.0.0), T3 Code desktop app
Workaround
Switch the file tab to source view, or open the file in an external editor.
Context
We keep project knowledge as Markdown files with YAML frontmatter, using the OKF v0.2 convention: every page carries type, title, description and status, and Task pages also carry Board fields such as task_status and blocked_by. Agents and humans read these files side by side in T3 Code. Frontmatter is also standard in Obsidian vaults, static-site generators and agent skill files (SKILL.md), so most Markdown in agent-driven repositories hits this.
A likely fix: enable frontmatter parsing in the Markdown preview (for example remark-frontmatter, if the preview uses remark/react-markdown), then hide the block or render it as a compact properties table.
- 主要言語
- TypeScript
- スター
- 24.8k
- フォーク
- 6.4k
- 平均マージ
- 1時間 22分
- マージ済み PR(30日)
- 18
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pingdotgg/t3code のほかの issue
-
MCP endpoint matches the Authorization scheme case-sensitively and logs the same reason for "absent" and "wrong scheme" (ChatGPT connector gets missing_bearer_token)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: OpenCode steer drops the thread's `agent` (and `variant`), so steered messages run on opencode's default_agent対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
pingdotgg/t3code#23175 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: preview_evaluate accepts returnByValue:false but returns no usable object reference対応中かも @juliusmarminge が 1 日前に担当しました。 オープンbug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
pingdotgg/t3code の issue をすべて見る
似ている issue
-
area:agent-view area:tui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
anthropics/claude-code#104558 ·
メンテナーはふだん 1 日以内に返信
-
updater
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
UniversityOfHelsinkiCS/oodikone#5141 ·
-
maintanance
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
inmanta/web-console#7606 ·
メンテナーはふだん 1 日以内に返信
-
bug skills
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
equinor/fusion-framework#5846 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 74/100