Skip to content

DirectiveNode Type documentation

TypeScript declaration

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

AST node created by remark-directive.

Properties
  • Attributes declared on the directive.

    attributes: Record<string, string | undefined>

  • List of children.

    children: RootContent[] Inherited from Parent

  • Info from the ecosystem.

    data?: Data Inherited from Node

  • The directive name without its leading colons.

    name: string

  • Position of a node in a source document.

    Nodes that are generated (not in the original source document) must not have a position.

    position?: Position Inherited from Node

  • Node type.

    type: "containerDirective" | "leafDirective" | "textDirective" Inherited from Node


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