MCPcopy Index your code
hub / github.com/QwikDev/qwik / normalizeApiLinkText

Function normalizeApiLinkText

scripts/api-docs.ts:346–352  ·  view source on GitHub ↗
(linkText: string)

Source from the content-addressed store, hash-verified

344}
345
346function normalizeApiLinkText(linkText: string) {
347 return linkText
348 .replace(/\\([_$[\]])/g, '$1')
349 .replace(/<[^>]+>/g, '')
350 .replace(/`/g, '')
351 .trim();
352}
353
354function getCanonical(hierarchy: string[]) {
355 return hierarchy.map((h) => getSafeFilenameForName(h)).join('-');

Callers 1

getLinkedMemberAnchorIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…