(markdown: string)
| 8 | const THUMBNAIL = 'thumbnail'; |
| 9 | |
| 10 | const removeLeadingWhitespace = (markdown: string): string => |
| 11 | markdown.replace(/^\s*\n+/, ''); |
| 12 | |
| 13 | const getLeadParagraph = (markdown: string): string => |
| 14 | removeLeadingWhitespace(markdown).split('\n\n')[0] ?? ''; |
no outgoing calls
no test coverage detected
searching dependent graphs…