54 lines
1.0 KiB
Markdown
54 lines
1.0 KiB
Markdown
---
|
|
title: Images and Embeds
|
|
description: Add image, video, and other HTML elements
|
|
navigation:
|
|
icon: i-lucide-image
|
|
seo:
|
|
description: Add image, video, and other HTML elements using Docus theme
|
|
---
|
|
|
|
## Markdown
|
|
|
|
Display images or videos using standard Markdown syntax.
|
|
|
|
### Images
|
|
|
|
::code-preview
|
|

|
|
|
|
#code
|
|
```mdc
|
|

|
|
```
|
|
::
|
|
|
|
Or with your local images
|
|
|
|
::code-preview
|
|

|
|
|
|
#code
|
|
```mdc
|
|

|
|
```
|
|
::
|
|
|
|
::note{to="https://image.nuxt.com/"}
|
|
Docus will use `<NuxtImg>` component under the hood instead of the native `img` tag.
|
|
::
|
|
|
|
### Videos
|
|
|
|
::prose-code-preview
|
|
:video{autoplay controls loop src="https://res.cloudinary.com/dcrl8q2g3/video/upload/v1745404403/landing_od8epr.mp4"}
|
|
|
|
|
|
|
|
#code
|
|
```mdc
|
|
:video{autoplay controls loop src="https://res.cloudinary.com/dcrl8q2g3/video/upload/v1745404403/landing_od8epr.mp4"}
|
|
```
|
|
::
|
|
|
|
###
|