svelte-showdown Svelte Themes

Svelte Showdown

Wrapper for Showdown that parses Markdown in your Svelte components

Svelte Showdown

Use showdown as a Svelte component.

pnpm i svelte-showdown -D

How to use

<script>
  import { SvelteShowdown } from 'svelte-showdown';

  let content = $state('**This text is bold**, and this one contains emoji: :smile: :alien:');

  const options = {
    emoji: true
  };
</script>

<SvelteShowdown {content} {options} />

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes