MCPcopy Create free account
hub / github.com/adobe/react-spectrum / stripMarkdown

Function stripMarkdown

packages/dev/docs/src/BasePage.js:9–11  ·  view source on GitHub ↗
(description)

Source from the content-addressed store, hash-verified

7 : 'reactspectrum.blob.core.windows.net';
8
9function stripMarkdown(description) {
10 return (description || '').replace(/\[(.*?)\]\(.*?\)/g, '$1');
11}
12
13export const ImageContext = React.createContext();
14

Callers 1

BasePage.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected