UNPKG

mermaid

Version:

Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.

7 lines (6 loc) 227 B
/** * Remove all lines starting with `%%` from the text that don't contain a `%%{` * @param text - The text to remove comments from * @returns cleaned text */ export declare const cleanupComments: (text: string) => string;