Skip to content

Commit

Permalink
Update images.mdx (withastro#7856)
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
2 people authored and wpplumber committed May 15, 2024
1 parent 424bf8f commit 536b8a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/content/docs/en/guides/images.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,9 @@ import rocket from '../assets/rocket.png';

# My MDX Page

// Local image stored in the the same folder
![Houston in the wild](houston.png)

// Local image stored in src/assets/
<Image src={rocket} alt="A rocketship in space." />
<img src={rocket.src} alt="A rocketship in space." />
Expand Down

0 comments on commit 536b8a5

Please sign in to comment.