Skip to content

Commit

Permalink
feat(Blog Slug): ✨ Updated MDCRenderer properties
Browse files Browse the repository at this point in the history
  • Loading branch information
bKoZii committed Oct 18, 2024
1 parent a1e24fd commit 1414a0a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pages/blog/[slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
class="prose prose-code:prose-h3:border-dashed prose-code:prose-h3:font-semibold prose-neutral dark:prose-invert prose-sm md:prose-base prose-h1:mb-5 prose-h2:my-4 prose-pre:text-sm dark:prose-pre:border dark:prose-pre:border-neutral-800 prose-li:my-1 max-w-none font-sans tracking-tight"
>
<div v-if="ast">
<MDCRenderer :body="ast" tag="article" />
<MDCRenderer
:body="ast.body"
:data="ast.data"
tag="article"
/>
</div>
<div v-else-if="status == 'pending' || parseStatus == 'pending'">
<LazyUAlert
Expand Down

1 comment on commit 1414a0a

@vercel
Copy link

@vercel vercel bot commented on 1414a0a Oct 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.