Skip to content

Commit 630f528

Browse files
committed
Remove experimental YouTube feature
1 parent d332690 commit 630f528

File tree

2 files changed

+1
-32
lines changed

2 files changed

+1
-32
lines changed

src/components/ui/Markdown.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
import { marked } from 'marked';
3-
import { replaceYouTubeLinks } from "@utils/markdown";
43
54
interface Props {
65
content: string;
76
}
87
98
const { content } = Astro.props;
10-
const html = marked.parse(await replaceYouTubeLinks(content) );
9+
const html = marked.parse(content);
1110
---
1211

1312
<div class="prose prose-xl max-w-none" >

src/utils/markdown.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)