{"version":"2.1.274","anchor":"markdown-text-can-now-register-clickablepressable-links-in","canonical_anchor":"markdown-text-can-now-register-clickablepressable-links-in","heading":"New Markdown UI element with clickable links for plugin\/skill interfaces","tier":"use","area":"Terminal UI","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274\/e\/markdown-text-can-now-register-clickablepressable-links-in","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274","markdown":"### New Markdown UI element with clickable links for plugin\/skill interfaces\n\nPlugins and skills can now render a Markdown element with clickable links in the terminal UI\n\n**What**\n\n- A new `Markdown` element type is available in the UI toolkit plugins and skills use to build custom terminal interfaces, alongside existing elements like `Box`, `Text`, and `Code`. It supports props such as `text`, `dimColor`, and `pressableLinks`, and its content is sanitized to reject control characters.\n\n- Markdown text can now contain clickable (pressable) links: a new renderer recognizes `https:\/\/`, `http:\/\/`, and `file:\/\/` links, distinguishes single- from double-clicks, and calls a press handler with the link's destination when clicked.\n\n- The system that finds which UI elements are clickable now also collects a `pressableLinks` list of link destinations for a pressable element.\n\n- The `Markdown` component is now an allowed element on the default, mobile, and VS Code render surfaces, with a dedicated error if a Markdown element with links is missing its click handler.\n\n**Why** This lets plugins and skills present richer, formatted text with clickable links in their custom terminal UI, instead of being limited to plain text or buttons.\n\n- Area: Terminal UI\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5"}