What
- A new
Markdownelement type is available in the UI toolkit plugins and skills use to build custom terminal interfaces, alongside existing elements likeBox,Text, andCode. It supports props such astext,dimColor, andpressableLinks, and its content is sanitized to reject control characters. - Markdown text can now contain clickable (pressable) links: a new renderer recognizes
https://,http://, andfile://links, distinguishes single- from double-clicks, and calls a press handler with the link's destination when clicked. - The system that finds which UI elements are clickable now also collects a
pressableLinkslist of link destinations for a pressable element. - The
Markdowncomponent 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.
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.
Names in the bundleonLinkPress
Documented inclaude-code/plugins/mods/interface
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up onLinkPress, on Mods reference.
| `Markdown` | `text`, `key`, `dimColor`, `onLinkPress`, `pressableLinks` | ✓ | ✓ |plugins/mods/reference see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up onLinkPress, on Mods reference.