Update packages/mermaid/src/mermaid.ts

Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
Knut Sveidqvist
2023-02-28 12:14:35 +01:00
committed by GitHub
parent 275a54a562
commit c91fa192aa

View File

@@ -348,6 +348,9 @@ const parse = async (text: string, parseOptions?: ParseOptions): Promise<boolean
* bindFunctions?.(element);
* ```
*
* @remarks
* Multiple calls to this function will be enqueued to run serially.
*
* @param id - The id for the SVG element (the element to be rendered)
* @param text - The text for the graph definition
* @param container - HTML element where the svg will be inserted. (Is usually element with the .mermaid class)