diff --git a/src/lib/components/PostCard.svelte b/src/lib/components/PostCard.svelte index 78fef6e..9a35cca 100644 --- a/src/lib/components/PostCard.svelte +++ b/src/lib/components/PostCard.svelte @@ -8,6 +8,7 @@ import Card from "./Card.svelte"; import { getPostEventInfo } from "$lib/blog-utils"; import { useTranslate, T } from "$lib/translations"; + import { marked } from "$lib/markdown-safe"; const t = useTranslate(); @@ -119,7 +120,7 @@ {#if post.subheadline}
- {post.subheadline} + {@html marked.parseInline(post.subheadline)}
{/if} {#if post.excerpt} diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 5961621..714c855 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,6 @@