MCPcopy Index your code
hub / github.com/codeaashu/claude-code / linkifyUrlsInText

Function linkifyUrlsInText

src/components/shell/OutputLine.tsx:44–46  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

42// no whitespace, no trailing comma/brace that'd be JSON structure.
43const URL_IN_JSON = /https?:\/\/[^\s"'<>\\]+/g;
44export function linkifyUrlsInText(content: string): string {
45 return content.replace(URL_IN_JSON, url => createHyperlink(url));
46}
47export function OutputLine(t0) {
48 const $ = _c(11);
49 const {

Callers 2

MCPTextOutputFunction · 0.85
OutputLineFunction · 0.85

Calls 1

createHyperlinkFunction · 0.85

Tested by

no test coverage detected