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

Function flushList

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

Source from the content-addressed store, hash-verified

139 paragraph = [];
140 };
141 const flushList = () => {
142 if (!listItems.length) return;
143 out.push(`<${listType}>${listItems.map((item) => `<li>${renderInlineMarkdown(item)}</li>`).join("")}</${listType}>`);
144 listItems = [];
145 listType = "";
146 };
147 const flushQuote = () => {
148 if (!quoteLines.length) return;
149 out.push(`<blockquote>${quoteLines.map((item) => `<p>${renderInlineMarkdown(item)}</p>`).join("")}</blockquote>`);

Callers 1

renderMarkdownFunction · 0.70

Calls 1

renderInlineMarkdownFunction · 0.70

Tested by

no test coverage detected