MCPcopy Create free account
hub / github.com/Thanas-R/Virdis / flushMarkdown

Function flushMarkdown

src/components/FieldDetailView.tsx:85–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 const blocks: AnalysisBlock[] = [];
84 let markdownBuffer: string[] = [];
85 const flushMarkdown = () => { if (markdownBuffer.length) { blocks.push({ type: "markdown", content: markdownBuffer.join("\n") }); markdownBuffer = []; } };
86 for (let i = 0; i < lines.length; i += 1) {
87 if (!isTableRow(lines[i])) { markdownBuffer.push(lines[i]); continue; }
88 flushMarkdown();

Callers 1

splitAnalysisBlocksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected