{"repo":"PacificStudio/streamdown-svelte","free":true,"listed":false,"github":"https://github.com/PacificStudio/streamdown-svelte","clone":"git clone https://github.com/PacificStudio/streamdown-svelte.git","description":"Svelte port of Streamdown","language":"TypeScript","stars":10,"topics":["ai","markdown","svelte"],"license":"Apache-2.0","category":"productivity","readme_excerpt":"Svelte Streamdown Svelte port of Vercel Streamdown for rendering AI-generated markdown with streaming-friendly parsing, hardened HTML handling, extensible plugins, and Svelte-native customization hooks. The published package name is streamdown-svelte . Thanks to the earlier svelte-streamdown groundwork - this repository continues building on that foundation. Docs and playground live at https://streamdown-svelte.pacificstudio.ai . Installation Quick Start Consumer Setup Tailwind v4 / SvelteKit If your app uses Tailwind v4, add Streamdown's published files as a source so Tailwind keeps the package's utility classes in the final CSS. In a SvelteKit app that keeps its main stylesheet at src/app.css : If your stylesheet lives elsewhere, adjust the relative path from that file to node modules/streamdown-svelte/dist . Without @source , built-in code blocks, tables, alerts, and theme classes can render unstyled in production builds. Shiki themes shikiTheme controls the active built-in Shiki theme. shikiThemes is the registration map for custom theme names when you want to switch between imported themes by string. Use a single bundled theme name when one theme is enough: Use a light/dark tuple when your app already toggles .dark , [data-theme='dark'] , or color-scheme: dark on / and you want Streamdown to follow that mode automatically: You can also pass imported Shiki theme objects directly: ts\\nconsole.log(\\\"hi\\\");\\n When you want to switch custom themes by name at runtime, register","default_branch":null,"files":null,"tree":[],"storefront":"/r/PacificStudio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PacificStudio/streamdown-svelte/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}