MCPcopy Create free account
hub / github.com/dailydotdev/apps / getUrlText

Function getUrlText

packages/shared/src/lib/markdown.ts:5–5  ·  view source on GitHub ↗
(content = '', url = urlText)

Source from the content-addressed store, hash-verified

3
4const urlText = 'url';
5const getUrlText = (content = '', url = urlText) => `[${content}](${url})`;
6
7// Fast check used to detect whether plain text likely contains markdown syntax.
8const markdownSyntaxRegex =

Callers 1

getLinkReplacementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected