siMarkdownMermaid Type documentation¶
TypeScript declaration¶
An extension to render Mermaid diagrams. Options configure the shared Mermaid instance and are not isolated per Markdown component. Keep An extension to render Mermaid diagrams. Options configure the shared Mermaid instance and are not isolated per Markdown component. Keep • trusted application configuration passed to Mermaid options ? : import { siMarkdownMermaid } from '@siemens/element-ng/markdown/extensions/mermaid';securityLevel: 'strict' for untrusted content and avoid mixing strict and permissive configurations. The integration trusts Mermaid's generated SVG output.siMarkdownMermaid(options?: MermaidConfig): SiMarkdownExtension securityLevel: 'strict' for untrusted content and avoid mixing strict and permissive configurations. The integration trusts Mermaid's generated SVG output.
MermaidConfig ¶
Types Documentation¶
An extension to the si-markdown component Special code type handlers to install codeTypes ? : Directives directives ? : plugins ? : Type handlers to install types ? : import type { SiMarkdownExtension } from '@siemens/element-ng/markdown';
TypeHandler[] ¶ TypeHandler[] ¶ unified plugins to installPluginWithOptions[] ¶ TypeHandler[] ¶
Type handler for a named type. This can be an AST node type, a code type, a directive name The component used to render the node component : Options passed to the component options ? : Type nameimport type { TypeHandler } from '@siemens/element-ng/markdown';
Type<SiMarkdownExtensionComponent> Inherited from ComponentWithOptions<SiMarkdownExtensionComponent> ¶ any Inherited from ComponentWithOptions<SiMarkdownExtensionComponent> ¶
import type { UnifiedPlugin } from '@siemens/element-ng/markdown';
Interface an extension component must implement Node to be rendered node : Options passed to the component options : The parent node parent : import type { SiMarkdownExtensionComponent } from '@siemens/element-ng/markdown';
InputSignal<Node> ¶ InputSignal<any> ¶ InputSignal<Parent> ¶
Except where otherwise noted, content on this site is licensed under MIT License.