@docubook/create
Version:
CLI to create DocuBook projects
24 lines (16 loc) • 595 B
text/mdx
title: Youtube
description: A component used to embed YouTube videos directly into your documentation.
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="OPM2t54T-Vo" />
## Output Markdown
```markdown
<Youtube videoId="OPM2t54T-Vo" />
```
## Usage
<Note type="note" title="Usage">
for example the youtube URL show this https://www.youtube.com/watch?v=OPM2t54T-Vo the ID `OPM2t54T-Vo`
</Note>