Markdown

E turn Markdown to safe HTML, including GFM tables, code and links.

Where you type chat, messages, text wey dey stream and conversation threads.

lr-markdown

import '@aceshooting/lyra-ui/components/lr-markdown.js';

Optional dependency: marked, dompurify

Read di guide (for English)

Components wey relate

  • Lean Markdown — Small Markdown renderer wey highlight fenced code only from supplied grammars.
  • Message actions — Toolbar for one chat message with copy, regenerate, edit and feedback.
  • Message feedback — Thumbs up or down for assistant message, with optional reason and comment.
  • Model selector — Choose provider and model from fixed catalog or enter custom model name.
  • Model settings — Model picker and temperature slider together for setting up agent.
  • Push to talk — Microphone button wey handle permission, recording and cleanup for hold or toggle use.