(markdown: string)
| 11 | markdown.replace(/^\s*\n+/, ''); |
| 12 | |
| 13 | const getLeadParagraph = (markdown: string): string => |
| 14 | removeLeadingWhitespace(markdown).split('\n\n')[0] ?? ''; |
| 15 | |
| 16 | const IMAGE_MARKDOWN = |
| 17 | /!\[([^\]]*)\]\(\s*([^) \t\r\n]+)\s*(?:(?:"([^"]*)"|'([^']*)'))?\s*\)/; |
no test coverage detected
searching dependent graphs…