Skip to content
Edit this page

siMarkdownDirective Type documentation

TypeScript declaration

import { siMarkdownDirective } from '@siemens/element-ng/markdown';

Installs component rendering for directives parsed by remark-directive.

siMarkdownDirective(directives: ReadonlyMap<string, TypeHandler>): SiMarkdownExtension

Installs component rendering for directives parsed by remark-directive.

Parameters

Types Documentation

import type { SiMarkdownExtension } from '@siemens/element-ng/markdown';

An extension to the si-markdown component

Properties

import type { TypeHandler } from '@siemens/element-ng/markdown';

Type handler for a named type. This can be an AST node type, a code type, a directive name

Properties

import type { SiMarkdownExtensionComponent } from '@siemens/element-ng/markdown';

Interface an extension component must implement

Properties

import type { ComponentWithOptions } from '@siemens/element-ng/markdown';

A combination of a component and options passed to it during run-time

Properties

import type { PluginWithOptions } from '@siemens/element-ng/markdown';

Combination of unified plugin with options

Properties

import type { UnifiedPlugin } from '@siemens/element-ng/markdown';


Except where otherwise noted, content on this site is licensed under MIT License.