Markdown
Sanitized Markdown-to-HTML rendering with GFM tables, code, and links
Chat composer, messages, streaming text, and transcript threads.
lr-markdown
import '@aceshooting/lyra-ui/components/lr-markdown.js';Optional dependency: marked, dompurify
Related components
- Markdown core — Build-lean Markdown rendering that highlights fenced code only from a compile-time supplied grammar map.
- Message actions — Per-message action toolbar for a chat message with copy, regenerate, edit, and feedback built-ins.
- Message feedback — Thumbs up/down rating for one assistant message with an optional reason-and-comment detail panel.
- Model select — Provider and model picker with a fixed catalog or free-text custom entry.
- Model settings panel — Paired model picker and temperature slider for configuring an agent.
- Push to talk — Mic capture button that owns the full permission-request, recording, and teardown lifecycle for press-and-hold or toggle use.