feat(core-markdown-parsing): integrate renderer into TUI single-file view [task/04] - #19
Merged
YamiDaisuke merged 2 commits intoJun 12, 2026
Conversation
TUIRenderer.renderFile(at:) loads a MarkdownDocument and renders it via ANSIRenderer, printing ANSI-styled output to stdout. main.swift now calls this for TUI mode when the path is a single file, replacing the stub info-print with actual rendered markdown. https://claude.ai/code/session_01BuCBWNQyhdp6BGmAQXik5L
YamiDaisuke
deleted the
core-markdown-parsing-task/04-integrate-renderer-tui-single-file
branch
June 12, 2026 02:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wires
MarkdownDocumentandANSIRendererintoTUIRendererso thatemdee path/to/file.mddisplays ANSI-rendered markdown instead of stub info output.Changes
TUIRenderer: addrenderFile(at:)— loadsMarkdownDocument, renders viaANSIRenderer, prints to stdoutmain.swift: movefileExistscheck before mode dispatch; callrenderer.renderFile(at:)for TUI single-file mode with error handling; remove placeholder print statementsRelated Task
docs/specs/core-markdown-parsing.md· TASK-04Stack
Target branch: main (TASK-01/02/03 already merged)
Checklist
docs/ARCHITECTURE.mddoneGenerated by Claude Code