MarkdownHtmlComponent

Renders a html-block / html-inline markdown node as escaped text — the raw HTML is shown literally (Angular interpolation auto-escapes it), never injected as live markup. This preserves the pre-0.4 behavior where raw HTML was plain text, and keeps the chat XSS-safe: model-emitted <script>, <iframe>, etc. are displayed as text and never executed.

import { MarkdownHtmlComponent } from '@threadplane/chat';

Declaration

export declare class MarkdownHtmlComponent  {
  readonly node: import("@angular/core").InputSignal<MarkdownHtmlInlineNode | MarkdownHtmlBlockNode>;
}

Angular template API

Selector: chat-md-html

Inputs

node · required
MarkdownHtmlInlineNode | MarkdownHtmlBlockNode

Members

node

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