Skip to content

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

Merged
YamiDaisuke merged 2 commits into
mainfrom
core-markdown-parsing-task/04-integrate-renderer-tui-single-file
Jun 12, 2026
Merged

feat(core-markdown-parsing): integrate renderer into TUI single-file view [task/04]#19
YamiDaisuke merged 2 commits into
mainfrom
core-markdown-parsing-task/04-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 (TASK-01/02/03 already merged)

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 merged commit ab88bcf into main Jun 12, 2026
1 check passed
@YamiDaisuke
YamiDaisuke deleted the core-markdown-parsing-task/04-integrate-renderer-tui-single-file branch June 12, 2026 02:45
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