MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / flushParagraph

Function flushParagraph

deployments/desktop/static/reports.js:136–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 let codeLines = [];
135
136 const flushParagraph = () => {
137 if (!paragraph.length) return;
138 out.push(`<p>${renderInlineMarkdown(paragraph.join(" "))}</p>`);
139 paragraph = [];
140 };
141 const flushList = () => {
142 if (!listItems.length) return;
143 out.push(`<${listType}>${listItems.map((item) => `<li>${renderInlineMarkdown(item)}</li>`).join("")}</${listType}>`);

Callers 1

renderMarkdownFunction · 0.70

Calls 1

renderInlineMarkdownFunction · 0.70

Tested by

no test coverage detected