MarkdownMathComponent

Renders a math-inline / math-display markdown node as KaTeX, when the application provides it with provideChatMath(). Without it, until KaTeX loads, or if the LaTeX is invalid, the raw $…$ source is shown — never blank, never a crash.

import { MarkdownMathComponent } from '@threadplane/angular/chat';

Declaration

export declare class MarkdownMathComponent  {
  readonly node: import("@angular/core").InputSignal<MathNode>;
}

Angular template API

Selector: chat-md-math

Inputs

node · required
MathNode

Members

node

readonly node: import("@angular/core").InputSignal<MathNode>;