MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / renderParagraph

Function renderParagraph

src/common/markdown-block.ts:321–326  ·  view source on GitHub ↗
(block: TaggedParagraph)

Source from the content-addressed store, hash-verified

319}
320
321function renderParagraph(block: TaggedParagraph): StyledBlock {
322 return {
323 tag: 'paragraph',
324 spans: renderSpans(block.content),
325 };
326}
327
328function renderHeading(block: TaggedHeading): StyledBlock {
329 if (block.tag === 'h1') {

Callers 1

renderMarkdownBlockFunction · 0.85

Calls 1

renderSpansFunction · 0.85

Tested by

no test coverage detected