MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / plainMarkdown

Function plainMarkdown

graph-ui/src/architecture/repository-guide.ts:43–45  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

41}
42
43function plainMarkdown(text: string): string {
44 return text.replace(/!\[[^\]]*\]\([^)]*\)/g, '').replace(/\[([^\]]+)\]\([^)]*\)/g, '$1').replace(/[*_`]/g, '').replace(/<[^>]*>/g, '').trim();
45}
46
47/** Quote only repository-authored prose, never infer a responsibility from an identifier. */
48export function sourceQuote(path: string, source: string, start = 1): SourceQuote | undefined {

Callers 1

sourceQuoteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected