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

Function stripMarkdown

packages/dev/docs/src/Layout.js:179–181  ·  view source on GitHub ↗
(description)

Source from the content-addressed store, hash-verified

177}
178
179function stripMarkdown(description) {
180 return (description || '').replace(/\[(.*?)\]\(.*?\)/g, '$1');
181}
182
183function isBlogSection(section) {
184 return section === 'blog';

Callers 1

Layout.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected