Skip to content

SI_MARKDOWN_CONTROL Type documentation

Token to pass the si-markdown component w/o circular dependencies.

Types Documentation

Interface of si-markdown exposed to children.
Properties
debug: Signal<boolean>
extensionEvent: OutputEmitterRef<{ data: any, name: string }>
meta: Signal<SiMarkdownMetadata>
templates: Signal<Map<string, TemplateRef<any>>>
Options passed to makeProcessor()
Properties
citations?: SiMarkdownCitation[]
Citation metadata associated with a markdown response.
Properties
Optional source description.
description?: string from description
Identifier referenced by bracket notation, such as [source-1] .
identifier?: string
Source name displayed to the user.
name: string from name
Zero-based, end-exclusive source range of the citation reference in the markdown source.
position?: { endIndex: number, startIndex: number }
Optional source quote. Takes precedence over description .
quote?: string from quote
Source URL.
url: string from url
Definition of a single source
Properties
Optional source description.
description?: string
Source name displayed to the user.
name: string
Optional source quote. Takes precedence over description .
quote?: string
Source URL.
url: string
Optional source description.
Property
Source name displayed to the user.
Property
Optional source quote. Takes precedence over description .
Property
Source URL.

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