Skip to content

SiMarkdownHighlighterComponent Type documentation

Interface a code highlighter component must implement
Properties
The code to be highlighted
code: InputSignal<string>
The language
language: InputSignal<string>
Options passed to the component
options: InputSignal<any>
Function the highlighter can call to updated the displayed language
updateLanguage: InputSignal<(lang: string) => void>

Types Documentation

No types to document for items on this page.


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