Skip to content

[SUPERSEDED] feat(core-markdown-parsing): integrate renderer into TUI single-file view [task/04] - #16

Closed
YamiDaisuke wants to merge 2 commits into
mainfrom
feat/integrate-renderer-tui-single-file
Closed

[SUPERSEDED] feat(core-markdown-parsing): integrate renderer into TUI single-file view [task/04]#16
YamiDaisuke wants to merge 2 commits into
mainfrom
feat/integrate-renderer-tui-single-file

Conversation

@YamiDaisuke

Copy link
Copy Markdown
Owner

Summary

Wires MarkdownDocument and ANSIRenderer into TUIRenderer so that emdee path/to/file.md displays ANSI-rendered markdown instead of stub info output.

Changes

  • TUIRenderer: add renderFile(at:) — loads MarkdownDocument, renders via ANSIRenderer, prints to stdout
  • main.swift: move fileExists check before mode dispatch; call renderer.renderFile(at:) for TUI single-file mode with error handling; remove placeholder print statements

Related Task

docs/specs/core-markdown-parsing.md · TASK-04

Stack

Target branch: main

Checklist

  • All acceptance criteria from the task are met
  • Code follows conventions in docs/ARCHITECTURE.md
  • Tests added or updated where required by spec or architecture
  • Only changes related to this task are included
  • Spec task status updated to done

Generated by Claude Code

claude added 2 commits June 6, 2026 17:45
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 YamiDaisuke changed the title feat(core-markdown-parsing): integrate renderer into TUI single-file view [task/04] [SUPERSEDED] feat(core-markdown-parsing): integrate renderer into TUI single-file view [task/04] Jun 6, 2026
@YamiDaisuke YamiDaisuke closed this Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants