initial docs
This commit is contained in:
21
contents/docs/getting-started/components/youtube/index.mdx
Normal file
21
contents/docs/getting-started/components/youtube/index.mdx
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: Youtube
|
||||
description: This section previews the Youtube video embed component.
|
||||
date: 14-12-2024
|
||||
---
|
||||
|
||||
I have implemented a `YouTube` component for your documentation. This component allows you to easily embed YouTube videos directly into your documentation by simply inputting the video's ID.
|
||||
|
||||
## Preview
|
||||
|
||||
<Youtube videoId="cpraXaw7dyc" />
|
||||
|
||||
## Code
|
||||
|
||||
```bash
|
||||
<Youtube videoId="cpraXaw7dyc" />
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
for example the youtube URL show this https://www.youtube.com/watch?v=cpraXaw7dyc the ID `cpraXaw7dyc`
|
||||
Reference in New Issue
Block a user