( node: Node, )
| 91 | }; |
| 92 | |
| 93 | export const getThumbnailMarkdown = ( |
| 94 | node: Node, |
| 95 | ): {thumbnail?: Thumbnail; summary: string; body: string} => ({ |
| 96 | thumbnail: node.data[THUMBNAIL] as Thumbnail | undefined, |
| 97 | summary: node.summary ?? '', |
| 98 | body: node.body ?? '', |
| 99 | }); |
| 100 | |
| 101 | export const getSummaryMarkdown = (node: Node): string => { |
| 102 | return (node.summary ?? '') || getLeadParagraph(node.body ?? ''); |
no outgoing calls
no test coverage detected
searching dependent graphs…