[PR #767] [MERGED] Markdown refinement #766

Closed
opened 2026-03-02 23:48:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/767
Author: @kommander
Created: 3/2/2026
Status: Merged
Merged: 3/2/2026
Merged by: @kommander

Base: mainHead: markdown-refinement-3


📝 Commits (10+)

📊 Changes

4 files changed (+454 additions, -330 deletions)

View changed files

📝 packages/core/src/renderables/Code.test.ts (+36 -0)
📝 packages/core/src/renderables/Code.ts (+28 -12)
📝 packages/core/src/renderables/Markdown.ts (+183 -166)
📝 packages/core/src/renderables/__tests__/Markdown.test.ts (+207 -152)

📄 Description

  • simplify renderable structure and reduce number of renderables
  • link handling
  • fewer extra/empty lines in rendered output

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/767 **Author:** [@kommander](https://github.com/kommander) **Created:** 3/2/2026 **Status:** ✅ Merged **Merged:** 3/2/2026 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `markdown-refinement-3` --- ### 📝 Commits (10+) - [`0468c5e`](https://github.com/anomalyco/opentui/commit/0468c5ec8f42f9afb96b477b1413c20f9198494b) paragraph as code renderable - [`ca33c84`](https://github.com/anomalyco/opentui/commit/ca33c84438af1c655b6f2188dac9baaddea899fe) no internals - [`70c35d9`](https://github.com/anomalyco/opentui/commit/70c35d9c1e846e4f289047fd2fa0e7124c51827f) test renderable structure - [`001a138`](https://github.com/anomalyco/opentui/commit/001a13804ca01c5d92d167f51227580cfb43bc84) no renderOnce - [`4ff6e68`](https://github.com/anomalyco/opentui/commit/4ff6e6832bc2d66bf5a6680a8746fe4f22803798) markdown links - [`e4c6571`](https://github.com/anomalyco/opentui/commit/e4c6571a4afffe35b08859586ef732e6abc75448) less separate renderables - [`306488c`](https://github.com/anomalyco/opentui/commit/306488c30c2d77911d6b4fd5eb518aa94df23c8c) refactor - [`465854c`](https://github.com/anomalyco/opentui/commit/465854c5b66c309187af5e0291b9e153c16e9020) less empty lines - [`6c61e85`](https://github.com/anomalyco/opentui/commit/6c61e8521cdfc2126e64002c2773348df811f249) no extra newlines - [`302c9ef`](https://github.com/anomalyco/opentui/commit/302c9efaf7642157768a1253e9736becd99d38aa) regex ### 📊 Changes **4 files changed** (+454 additions, -330 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/renderables/Code.test.ts` (+36 -0) 📝 `packages/core/src/renderables/Code.ts` (+28 -12) 📝 `packages/core/src/renderables/Markdown.ts` (+183 -166) 📝 `packages/core/src/renderables/__tests__/Markdown.test.ts` (+207 -152) </details> ### 📄 Description - simplify renderable structure and reduce number of renderables - link handling - fewer extra/empty lines in rendered output --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:48:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#766
No description provided.