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

Function flushParagraph

deployments/desktop/static/desktop.js:2617–2621  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2615 return html;
2616 };
2617 const flushParagraph = () => {
2618 if (!paragraph.length) return;
2619 out.push(`<p>${renderInlineMarkdown(paragraph.join(" "))}</p>`);
2620 paragraph = [];
2621 };
2622 const flushList = () => {
2623 if (!listItems.length) return;
2624 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