
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@markdown-ui/svelte
Advanced tools
Transform Markdown into interactive Svelte components—instantly.
Turn static docs into live experiences users can click, select, and submit.
npm install @markdown-ui/svelte @markdown-ui/marked-ext marked
<script>
import { MarkdownUI } from '@markdown-ui/svelte';
import '@markdown-ui/svelte/widgets.css';
import { Marked } from 'marked';
import { markedUiExtension } from '@markdown-ui/marked-ext';
const marked = new Marked();
marked.use(markedUiExtension);
const markdown = `
\`\`\`markdown-ui-widget
select env [dev staging prod]
\`\`\`
`;
function handleWidgetEvent(event) {
console.log('User selected:', event.detail);
}
</script>
<MarkdownUI
html={marked.parse(markdown)}
onwidgetevent={handleWidgetEvent}
/>
Quick inputs
text-input username "Username" "Enter name"
button-group env [dev staging prod] dev
select region [us-east us-west] us-east
Complex forms
form deploy "Launch"
text-input name "App Name"
slider replicas 1 10 1 3
select env [dev prod] dev
Interactive charts
chart-line
title: Monthly Revenue
height: 300
Month,Sales,Target
Jan,45000,50000
Feb,52000,50000
Mar,48000,55000
Events made simple
function handleWidgetEvent(event) {
const { id, value } = event.detail;
// That's it - perfect event data
}
Full type safety out of the box. All components and events are properly typed for the best developer experience.
SSR-safe by design. No special setup needed for SvelteKit or any Svelte framework.
// Just import and use - SSR handled automatically
import { MarkdownUI } from '@markdown-ui/svelte';
Compatibility: Svelte 5+, SvelteKit, Vite, and all modern Svelte tooling.
MIT © 2025
FAQs
svelte renderer for markdown-ui
The npm package @markdown-ui/svelte receives a total of 6 weekly downloads. As such, @markdown-ui/svelte popularity was classified as not popular.
We found that @markdown-ui/svelte demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.