SiMarkdownHighlighter Type documentation¶
TypeScript declaration¶
import type { SiMarkdownHighlighter } from '@siemens/element-ng/markdown'; Types Documentation¶
import type { SiMarkdownHighlighterComponent } from '@siemens/element-ng/markdown';Interface a code highlighter component must implement
Properties¶
-
The code to be highlighted
-
The language
-
Options passed to the component
-
Function the highlighter can call to updated the displayed language
updateLanguage:
InputSignal<(lang?: string) => void>¶
Except where otherwise noted, content on this site is licensed under MIT License.