feat: Add markdown components

This commit is contained in:
deytenit committed 2026-02-10 08:48:12 +03:00
1 parent 25044c75ff
commit 97c6347f2e
26 files changed
+551 -258

No files matched your search

@@ -1,4 +1,5 @@
---
import { MARKDOWN_COMPONENTS } from '@ermnvldmr/ui';
import { getCollection, render } from 'astro:content';
import { ArticleLayout } from '#layouts/ArticleLayout/ArticleLayout';
@@ -30,6 +31,6 @@ const { title, description, createdDate, updatedDate, tags } = entry.data;
updatedDate={updatedDate}
tags={tags}
>
<Content />
<Content components={MARKDOWN_COMPONENTS} />
</ArticleLayout>
</IndexLayout>