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