(description: string | undefined)
| 133 | * Strips markdown link syntax from a string, keeping only the link text. |
| 134 | */ |
| 135 | export function stripMarkdown(description: string | undefined): string { |
| 136 | return (description || '').replace(/\[(.*?)\]\(.*?\)/g, '$1'); |
| 137 | } |
| 138 | |
| 139 | /** |
| 140 | * Gets all of the subheadings underneath a heading within the Table of Contents. |
no outgoing calls
no test coverage detected