Streaming text core

Build-lean streaming text renderer whose Markdown mode highlights fenced code only from a compile-time supplied grammar map.

lr-streaming-text-core

import '@aceshooting/lyra-ui/components/lr-streaming-text-core.js';

Optional dependency: marked, dompurify

Read guide (English)