Skip to content
Edit this page

ExtendedRootContent Type documentation

TypeScript declaration

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

Types Documentation

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

Container for one or more adjacent citation nodes.

Properties
  • children : Citation[]

  • Info from the ecosystem.

    data ? : Data Inherited from Node

  • 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 : "citations" Inherited from Node

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

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

Extra node for collecting all footnotes

Properties
  • List of children.

    children : FootnoteDefinition[] Inherited from Parent

  • Info from the ecosystem.

    data ? : Data Inherited from Node

  • 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 : "footnotes" Inherited from Node

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

Inline node that references an item in the source citation array.

Properties
  • citationIndex : number

  • Info from the ecosystem.

    data ? : Data Inherited from Node

  • 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

  • Text replaced by a position-based citation.

    text ? : string

  • Node type.

    type : "citation" Inherited from Node


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