---
title: "Images and embeds"
description: "How to use images and embeds in markdown."
canonical_url: "https://nnsvn.me/products/nuxt-starter-kit/components/prose/images-and-embeds"
---

> Index of every page on this site: [llms.txt](https://nnsvn.me/llms.txt)

## Images

<ct-stack>
<div className="p-4">

![Image](https://nnsvn.me/prose-img/light.png)

</div>

```md
![Image](/prose-img/light.png)
```

</ct-stack>

### Lifted Image

A lifted image is an image that has border and shadow, making it stand out more.

<ct-stack>
<div className="p-4">

![Lifted Image](https://nnsvn.me/prose-img/light.png)

</div>

```md
![Lifted Image](/prose-img/light.png){lifted}
```

</ct-stack>

### Color Mode Image

A color mode image is an image that changes based on the current color mode (light or dark). This is useful for images that have different colors in light and dark mode.

<ct-stack>
<div className="p-4">
<ct-color-mode-image alt="Color Mode Image" srcDark="/prose-img/dark.png" srcLight="/prose-img/light.png">



</ct-color-mode-image>
</div>

```mdc
::ct-color-mode-image
---
srcLight: /prose-img/light.png
srcDark: /prose-img/dark.png
alt: Color Mode Image
---
::
```

</ct-stack>

### Image Zooming

Images can be zoomed in by clicking on them. This feature is enabled by default. You can disable it by setting `main.imageZoom` to `false` in the app config to disable zooming globally, or setting `:zoom="false"` on the image itself.

<ct-stack>
<div className="p-4">

![No Zooming Image](https://nnsvn.me/prose-img/light.png)

</div>

```md
![No Zooming Image](/prose-img/light.png){:zoom="false"}
```

</ct-stack>

## Embeds

### YouTube Video

<ct-stack>
<div className="p-4">
<iframe :allowfullscreen="true" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" className="rounded-md" frameBorder="0" referrerPolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/KnCNOp5Pbfs?si=Sxc-b7345FzgunTd" style="aspect-ratio: 16/9;" title="YouTube video player">



</iframe>
</div>

```mdc
:iframe{src="https://www.youtube.com/embed/KnCNOp5Pbfs?si=Sxc-b7345FzgunTd" class="rounded-md" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen style="aspect-ratio: 16/9;"}
```

</ct-stack>

## Sitemap

See the full [sitemap](https://nnsvn.me/sitemap.md) for all pages.
