Skip to content

TypeHandler documentation

Type handler for a named type. This can be an AST node type, a code type, a directive name
Properties
The component used to render the node
component: Type<SiMarkdownExtensionComponent> from component
Options passed to the component
options?: any from options
Type name
type: string

Types Documentation

A combination of a component and options passed to it during run-time
Properties
The component used to render the node
component: Type<T>
Options passed to the component
options?: any
Interface an extension component must implement
Properties
Node to be rendered
node: InputSignal<Node>
Options passed to the component
options: InputSignal<any>
The parent node
parent: InputSignal<Parent>
Property
The component used to render the node
Property
Options passed to the component
import
imported from @types/mdast
import
imported from @types/mdast

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