package.dist.rendering-util.handle-markdown-text.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mermaid Show documentation
Show all versions of mermaid Show documentation
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
The newest version!
import type { MarkdownLine } from './types.js';
import type { MermaidConfig } from '../config.type.js';
/**
* @param markdown - markdown to split into lines
*/
export declare function markdownToLines(markdown: string, config?: MermaidConfig): MarkdownLine[];
export declare function markdownToHTML(markdown: string, { markdownAutoWrap }?: MermaidConfig): string;