siMarkdownMathKaTeX Type documentation¶
TypeScript declaration¶
An extension to render LaTeX math expressions using KaTeX. Uses Returns: extension for An extension to render LaTeX math expressions using KaTeX. Uses Returns: extension for • options passed to parseOptions ? : • options passed to import { siMarkdownMathKaTeX } from '@siemens/element-ng/markdown/extensions/katex';remark-math to parse the expressions inside the markdown document.SiMarkdownOption.installExtension()siMarkdownMathKaTeX(parseOptions?: ToOptions, katexOptions?: KatexOptions): SiMarkdownExtension remark-math to parse the expressions inside the markdown document.SiMarkdownOption.installExtension()
remark-mathToOptions ¶ katex. Keep the default trust: false for untrusted expressions. Do not set trust: true unless all expressions rendered with that configuration come from sources you fully trust. For untrusted expressions that require specific commands, use a narrowly scoped trust callback that validates commands and their arguments, including URLs.
Types Documentation¶
An extension to the si-markdown component Special code type handlers to install codeTypes ? : Directives directives ? : plugins ? : Type handlers to install types ? : import type { SiMarkdownExtension } from '@siemens/element-ng/markdown';
TypeHandler[] ¶ TypeHandler[] ¶ unified plugins to installPluginWithOptions[] ¶ TypeHandler[] ¶
Type handler for a named type. This can be an AST node type, a code type, a directive name The component used to render the node component : Options passed to the component options ? : Type nameimport type { TypeHandler } from '@siemens/element-ng/markdown';
Type<SiMarkdownExtensionComponent> Inherited from ComponentWithOptions<SiMarkdownExtensionComponent> ¶ any Inherited from ComponentWithOptions<SiMarkdownExtensionComponent> ¶
import type { UnifiedPlugin } from '@siemens/element-ng/markdown';
Interface an extension component must implement Node to be rendered node : Options passed to the component options : The parent node parent : import type { SiMarkdownExtensionComponent } from '@siemens/element-ng/markdown';
InputSignal<Node> ¶ InputSignal<any> ¶ InputSignal<Parent> ¶
Except where otherwise noted, content on this site is licensed under MIT License.