MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / stripMdExtension

Function stripMdExtension

packages/app-core/src/lib/wikilinks.ts:51–53  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

49}
50
51function stripMdExtension(value: string): string {
52 return value.replace(/\.md$/i, '')
53}
54
55function normalizeForCompare(value: string): string {
56 return value.trim().toLowerCase()

Callers 5

resolveExplicitPathFunction · 0.70
resolvePathSuffixFunction · 0.70
resolveWikilinkTargetFunction · 0.70
suggestCreateNotePathFunction · 0.70
parseCreateNotePathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected