2.1 KiB
Warning
THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
Please edit the corresponding file in package/mermaid/src/docs.
Module: mermaidAPI
References
default
Renames and re-exports mermaidAPI
Variables
mermaidAPI
• Const
mermaidAPI: Readonly
<{ defaultConfig
: MermaidConfig
= configApi.defaultConfig; getConfig
: () => MermaidConfig
= configApi.getConfig; getSiteConfig
: () => MermaidConfig
= configApi.getSiteConfig; globalReset
: () => void
; initialize
: (options
: MermaidConfig
) => Promise
<void
> ; parse
: (text
: string
, parseError?
: Function
) => boolean
; parseDirective
: (p
: any
, statement
: string
, context
: string
, type
: string
) => void
; render
: (id
: string
, text
: string
, cb
: (svgCode
: string
, bindFunctions?
: (element
: Element
) => void
) => void
, container?
: Element
) => Promise
<void
> ; reset
: () => void
; setConfig
: (conf
: MermaidConfig
) => MermaidConfig
= configApi.setConfig; updateSiteConfig
: (conf
: MermaidConfig
) => MermaidConfig
= configApi.updateSiteConfig }>
Defined in
Functions
decodeEntities
▸ decodeEntities(text
): string
Parameters
Name | Type |
---|---|
text |
string |
Returns
string
Defined in
encodeEntities
▸ encodeEntities(text
): string
Parameters
Name | Type |
---|---|
text |
string |
Returns
string