mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #607] [MERGED] feat(core): add OSC 8 hyperlink metadata to markdown links #654
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#654
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/607
Author: @cevr
Created: 2/1/2026
Status: ✅ Merged
Merged: 2/2/2026
Merged by: @kommander
Base:
main← Head:feat/markdown-osc8-links📝 Commits (1)
03c9ec5feat(core): add OSC 8 hyperlink metadata to markdown link/image chunks📊 Changes
2 files changed (+110 additions, -25 deletions)
View changed files
📝
packages/core/src/renderables/Markdown.ts(+35 -25)📝
packages/core/src/renderables/__tests__/Markdown.test.ts(+75 -0)📄 Description
Summary
link: { url }onTextChunks for markdown link and image tokens, enabling OSC 8 terminal hyperlinkslinkparameter throughcreateChunkandrenderInlineTokenWithStyle— backwards-compatible, no new methodsThe rendering infrastructure (
textBufferSetStyledText→linkAlloc→ zig\x1b]8;;URL\x1b\\) was fully wired. The only missing piece wasMarkdown.tsnever populatingchunk.link.Test plan
link.urlwithconceal=truelink.urlwithconceal=falselink.urllinkmetadata🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.