fix(tui): render inline markdown formatting with ANSI codes

Block-level renderer methods (paragraph, heading, blockquote, list) were
using raw token.text instead of this.parser.parseInline(tokens), causing
bold, italic, and inline code to never render. Add table renderer with
aligned columns and box-drawing separators. Remove unused marked-terminal
dependency (incompatible with marked v17).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
William Valentin
2026-02-10 11:29:57 -08:00
parent ff03f74404
commit 4cc29f534a
4 changed files with 150 additions and 131 deletions
-2
View File
@@ -28,7 +28,6 @@
"license": "MIT",
"devDependencies": {
"@types/better-sqlite3": "^7.6.0",
"@types/marked-terminal": "^6.1.1",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/turndown": "^5.0.0",
@@ -56,7 +55,6 @@
"ink-text-input": "^6.0.0",
"linkedom": "^0.18.0",
"marked": "^17.0.1",
"marked-terminal": "^7.3.0",
"ollama": "^0.5.0",
"openai": "^4.0.0",
"puppeteer-core": "^24.37.2",