feat: add markdown parsing and rendering support

fix: resolve lint issues
chore: npm run format

- Added `parseMarkdown` function to handle markdown content with DOMPurify for sanitization.
- Updated `+page.svelte` to render markdown content and handle media loading.
- Introduced new styles for markdown elements in the Svelte component.
- Enhanced media placeholders for external content with privacy warnings.
This commit is contained in:
2026-01-23 01:20:52 -05:00
parent 5e4afafac0
commit 406381fbfe
9 changed files with 879 additions and 32 deletions
@@ -83,7 +83,10 @@
<svelte:head>
<title>Login - Sharpbin</title>
<meta name="description" content="Login to your Sharpbin account to manage your pastes and settings." />
<meta
name="description"
content="Login to your Sharpbin account to manage your pastes and settings."
/>
</svelte:head>
<main