https://github.com/dragomano/svelte-showdown
Wrapper for Showdown that parses Markdown in your Svelte components
https://github.com/dragomano/svelte-showdown
showdown svelte-components
Last synced: 4 months ago
JSON representation
Wrapper for Showdown that parses Markdown in your Svelte components
- Host: GitHub
- URL: https://github.com/dragomano/svelte-showdown
- Owner: dragomano
- License: mit
- Created: 2025-01-01T05:26:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-15T04:07:23.000Z (about 1 year ago)
- Last Synced: 2025-09-30T16:23:08.276Z (9 months ago)
- Topics: showdown, svelte-components
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Svelte Showdown
Use [showdown](https://github.com/showdownjs/showdown) as a Svelte component.
```bash
pnpm i svelte-showdown -D
```
## How to use
```svelte
import { SvelteShowdown } from 'svelte-showdown';
let content = $state('**This text is bold**, and this one contains emoji: :smile: :alien:');
const options = {
emoji: true
};
```